]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.394 v7.3.394
authorBram Moolenaar <Bram@vim.org>
Tue, 10 Jan 2012 11:42:09 +0000 (12:42 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 10 Jan 2012 11:42:09 +0000 (12:42 +0100)
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)

src/screen.c
src/version.c

index 2c87e9b9ef0143e78d116b8f1b466badb455ba8d..ad2d345f07eb047e4ceb89bece16528c2293ef2e 100644 (file)
@@ -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 */
index 42ef75c1d62ee646aa8144eb2554635b5c5ae37f..b7fa49ceb10cf177bac3b18419b3a9cf80c39ba0 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    394,
 /**/
     393,
 /**/