fix height calculation

This commit is contained in:
Sascha Kruse 2012-12-12 14:06:04 +01:00
parent 345a35fe9f
commit 73e4ab0e00

View File

@ -607,7 +607,7 @@ void draw_win(void)
/* resize dc to correct width */ /* resize dc to correct width */
int height = (line_cache.count * line_height) int height = (line_cache.count * line_height)
+ ((line_cache.count - 1) * separator_height); + (separator_height * (n_queue_len(&displayed) - 1));
resizedc(dc, width, height); resizedc(dc, width, height);