0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.2689: tiny build fails

Problem:    Tiny build fails.
Solution:   Add #ifdef around use of p_stl.
This commit is contained in:
Bram Moolenaar
2021-04-01 21:57:46 +02:00
parent ca51cc0a33
commit 160a2b4dac
2 changed files with 4 additions and 0 deletions

View File

@@ -1707,6 +1707,7 @@ getcmdline_int(
if (did_emsg) if (did_emsg)
redrawcmd(); redrawcmd();
#ifdef FEAT_STL_OPT
// Redraw the statusline in case it uses the current mode using the mode() // Redraw the statusline in case it uses the current mode using the mode()
// function. // function.
if (!cmd_silent && msg_scrolled == 0 && *p_stl != NUL) if (!cmd_silent && msg_scrolled == 0 && *p_stl != NUL)
@@ -1714,6 +1715,7 @@ getcmdline_int(
curwin->w_redr_status = TRUE; curwin->w_redr_status = TRUE;
redraw_statuslines(); redraw_statuslines();
} }
#endif
did_emsg = FALSE; did_emsg = FALSE;
got_int = FALSE; got_int = FALSE;

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2689,
/**/ /**/
2688, 2688,
/**/ /**/