summaryrefslogtreecommitdiff
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
parentca51cc0a335d0c449784440501c7d46ee8f84ce4 (diff)
downloadvim-git-160a2b4dac198f31fbcff9d696548e011c4602c1.tar.gz
patch 8.2.2689: tiny build failsv8.2.2689
Problem: Tiny build fails. Solution: Add #ifdef around use of p_stl.
-rw-r--r--src/ex_getln.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 58cd6c358..b61761b60 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;
diff --git a/src/version.c b/src/version.c
index 7da1fc4fa..743fbfb0d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2689,
+/**/
2688,
/**/
2687,