Mercurial > vim
diff src/gui_x11.c @ 857:b933657f7c9d
updated for version 7.0g01
author | vimboss |
---|---|
date | Tue, 02 May 2006 22:08:30 +0000 |
parents | 5117153003bd |
children | a49d06539452 |
line wrap: on
line diff
--- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -1437,7 +1437,11 @@ gui_mch_init() if (mask & WidthValue) Columns = w; if (mask & HeightValue) + { + if (p_window > h - 1 || !option_was_set((char_u *)"window")) + p_window = h - 1; Rows = h; + } /* * Set the (x,y) position of the main window only if specified in the * users geometry, so we get good defaults when they don't. This needs