summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index ee61a01aea..016e7ee3e9 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3650,7 +3650,7 @@ win_line(
if (fdc > 0)
{
/* Draw the 'foldcolumn'. Allocate a buffer, "extra" may
- * already be in used. */
+ * already be in use. */
p_extra_free = alloc(12 + 1);
if (p_extra_free != NULL)
@@ -10344,6 +10344,8 @@ draw_tabline(void)
#endif
);
+ if (ScreenLines == NULL)
+ return;
redraw_tabline = FALSE;
#ifdef FEAT_GUI_TABLINE