0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

updated for version 7.0g01

This commit is contained in:
Bram Moolenaar
2006-05-02 22:08:30 +00:00
parent c9b4b05b35
commit d68071d8da
45 changed files with 668 additions and 230 deletions

View File

@@ -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