Added 1px to the total size to get rid of the slightly undersized window when using --lines

This commit is contained in:
Scoopta 2020-05-08 14:24:51 -07:00
parent e0337b5b7a
commit 1266717492

View File

@ -471,6 +471,7 @@ static void widget_allocate(GtkWidget* widget, GdkRectangle* allocation, gpointe
} }
if(lines > 0) { if(lines > 0) {
height = max_height * lines; height = max_height * lines;
++height;
update_surface_size(); update_surface_size();
} }
} }