1
0
forked from aniani/vim

updated for version 7.3.643

Problem:    MS-Windows: When starting gvim maximized 'lines' and 'columns' are
            wrong. (Christian Robinson)
Solution:   Move the check for gui.starting from ui_get_shellsize() to
            check_shellsize().
This commit is contained in:
Bram Moolenaar
2012-08-29 16:26:04 +02:00
parent 8f91399366
commit 3633dc0129
3 changed files with 9 additions and 4 deletions

View File

@@ -3006,7 +3006,13 @@ shell_resized_check()
int old_Rows = Rows;
int old_Columns = Columns;
if (!exiting)
if (!exiting
#ifdef FEAT_GUI
/* Do not get the size when executing a shell command during
* startup. */
&& !gui.starting
#endif
)
{
(void)ui_get_shellsize();
check_shellsize();