From 6f7743ef824f17e9f0757083020c496d7d1ad77a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 6 Feb 2008 16:33:58 +0000 Subject: updated for version 7.1-244 --- src/gui.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/gui.c') diff --git a/src/gui.c b/src/gui.c index 4bae5015dd..1524e1bb12 100644 --- a/src/gui.c +++ b/src/gui.c @@ -1294,11 +1294,7 @@ again: out_flush(); gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width; - gui.num_rows = (pixel_height - gui_get_base_height() -#if !defined(FEAT_GUI_PHOTON) && !defined(FEAT_GUI_MSWIN) - + (gui.char_height / 2) -#endif - ) / gui.char_height; + gui.num_rows = (pixel_height - gui_get_base_height()) / gui.char_height; gui_position_components(pixel_width); -- cgit v1.2.3