From 738f8fc8edf7a87824bba8650c04ba6197fea25f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 10 Jan 2012 12:42:09 +0100 Subject: [PATCH] updated for version 7.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) --- src/screen.c | 10 +++++++--- src/version.c | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/screen.c b/src/screen.c index 2c87e9b9e..ad2d345f0 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 42ef75c1d..b7fa49ceb 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 394, /**/ 393, /**/ -- 2.50.1