fix height calculation on split notification

This commit is contained in:
Sascha Kruse 2012-08-18 22:06:51 +02:00
parent 48c3df1134
commit a8d0ef1854

View File

@ -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)" */