changeset 24297:6b7ab048eaae v8.2.2689

patch 8.2.2689: tiny build fails Commit: https://github.com/vim/vim/commit/160a2b4dac198f31fbcff9d696548e011c4602c1 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 1 21:57:46 2021 +0200 patch 8.2.2689: tiny build fails Problem: Tiny build fails. Solution: Add #ifdef around use of p_stl.
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Apr 2021 22:00:03 +0200
parents 7a93e2ddd473
children 598dc2294a47
files src/ex_getln.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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,