Mercurial > vim
diff src/screen.c @ 911:697dec8ec5e7 v7.0.037
updated for version 7.0-037
author | vimboss |
---|---|
date | Tue, 11 Jul 2006 21:01:01 +0000 |
parents | abff2f6a3ad7 |
children | b2dcb8457067 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -7129,6 +7129,12 @@ screenalloc(clear) return; entered = TRUE; + /* + * Note that the window sizes are updated before reallocating the arrays, + * thus we must not redraw here! + */ + ++RedrawingDisabled; + win_new_shellsize(); /* fit the windows in the new sized shell */ comp_col(); /* recompute columns for shown command and ruler */ @@ -7363,6 +7369,7 @@ screenalloc(clear) #endif entered = FALSE; + --RedrawingDisabled; #ifdef FEAT_AUTOCMD if (starting == 0)