diff src/gui.c @ 3923:6a76846b84eb v7.3.717

updated for version 7.3.717 Problem: When changing the font size, only MS-Windows limits the window size. Solution: Also limit the window size on other systems. (Roland Puntaier)
author Bram Moolenaar <bram@vim.org>
date Tue, 20 Nov 2012 12:03:06 +0100
parents fb7c028dcac7
children 29f29e86602e
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -905,13 +905,7 @@ gui_init_font(font_list, fontset)
 # endif
 	    gui_mch_set_font(gui.norm_font);
 #endif
-	gui_set_shellsize(FALSE,
-#ifdef MSWIN
-		TRUE
-#else
-		FALSE
-#endif
-		, RESIZE_BOTH);
+	gui_set_shellsize(FALSE, TRUE, RESIZE_BOTH);
     }
 
     return ret;