commit | d68071d8da46caf46581ae55aaca241e2dbf62c3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue May 02 22:08:30 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue May 02 22:08:30 2006 +0000 |
tree | aa3ff9a9d640cad7c56bc626b1dd1e53af084d67 | |
parent | c9b4b05b3544b434730eb218e848a1a441d5ffb2 [diff] [blame] |
updated for version 7.0g01
diff --git a/src/gui_x11.c b/src/gui_x11.c index c49bbe5..01f4e0f 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c
@@ -1437,7 +1437,11 @@ 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