diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-01-10 12:42:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-01-10 12:42:09 +0100 |
commit | 738f8fc8edf7a87824bba8650c04ba6197fea25f (patch) | |
tree | 48de27f90de95aef4f7bf008ab99f0057c848f8b | |
parent | 6ef47c223eb1c4290af30e2990765c81a31205e6 (diff) |
updated for version 7.3.394v7.3.394
Problem: When placing a mark while starting up a screen redraw messes up
the screen. (lith)
Solution: Don't redraw while still starting up. (Christian Brabandt)
-rw-r--r-- | src/screen.c | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c index 2c87e9b9ef..ad2d345f07 100644 --- a/src/screen.c +++ b/src/screen.c @@ -764,9 +764,13 @@ update_debug_sign(buf, lnum) doit = TRUE; } - /* Return when there is nothing to do or screen updating already - * happening. */ - if (!doit || updating_screen) + /* Return when there is nothing to do, screen updating is already + * happening (recursive call) or still starting up. */ + if (!doit || updating_screen +#ifdef FEAT_GUI + || gui.starting +#endif + || starting) return; /* update all windows that need updating */ diff --git a/src/version.c b/src/version.c index 42ef75c1d6..b7fa49ceb1 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 394, +/**/ 393, /**/ 392, |