]> granicus.if.org Git - vim/commitdiff
patch 8.2.2689: tiny build fails v8.2.2689
authorBram Moolenaar <Bram@vim.org>
Thu, 1 Apr 2021 19:57:46 +0000 (21:57 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 1 Apr 2021 19:57:46 +0000 (21:57 +0200)
Problem:    Tiny build fails.
Solution:   Add #ifdef around use of p_stl.

src/ex_getln.c
src/version.c

index 58cd6c35805dac04a49cb53efde508d6efcb135a..b61761b6088f92343512eb7b6c44f7e5f02a289c 100644 (file)
@@ -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;
index 7da1fc4fac264abf7fdb270d9249bd9828e25a34..743fbfb0d313b7df3047bbadecf52fbd6b3128d8 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2689,
 /**/
     2688,
 /**/