summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-01 21:57:46 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-01 21:57:46 +0200
commit160a2b4dac198f31fbcff9d696548e011c4602c1 (patch)
treed33c4456677d50ee24b87a070dee968065137e89 /src/ex_getln.c
parentca51cc0a335d0c449784440501c7d46ee8f84ce4 (diff)
patch 8.2.2689: tiny build failsv8.2.2689
Problem: Tiny build fails. Solution: Add #ifdef around use of p_stl.
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 58cd6c3580..b61761b608 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1707,6 +1707,7 @@ getcmdline_int(
if (did_emsg)
redrawcmd();
+#ifdef FEAT_STL_OPT
// Redraw the statusline in case it uses the current mode using the mode()
// function.
if (!cmd_silent && msg_scrolled == 0 && *p_stl != NUL)
@@ -1714,6 +1715,7 @@ getcmdline_int(
curwin->w_redr_status = TRUE;
redraw_statuslines();
}
+#endif
did_emsg = FALSE;
got_int = FALSE;