From a8d0ef18544511625386cdfe2b20cf1ed2af3966 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Sat, 18 Aug 2012 22:06:51 +0200 Subject: [PATCH] fix height calculation on split notification --- dunst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunst.c b/dunst.c index b41f5bf..d4ecabf 100644 --- a/dunst.c +++ b/dunst.c @@ -523,7 +523,7 @@ void draw_win(void) if (geometry.h == 0) { height = line_cnt * line_height; } else { - height = MIN(geometry.h, line_cnt) * line_height; + height = MAX(geometry.h, (line_cnt * line_height)); } /* add "(x more)" */