summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c
index 2c87e9b9..ad2d345f 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 */