diff src/gui.c @ 1529:4353593fc2c0 v7.1.244

updated for version 7.1-244
author vimboss
date Wed, 06 Feb 2008 16:33:58 +0000
parents cc4fe241baa3
children 7387540b6e52
line wrap: on
line diff
--- 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);