Skip to content

Commit

Permalink
patch 8.0.0711: cannot build without the wildmenu feature
Browse files Browse the repository at this point in the history
Problem:    Cannot build without the wildmenu feature.
Solution:   Add #ifdef
  • Loading branch information
brammool committed Jul 12, 2017
1 parent 8603356 commit 85dad2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,12 @@ redraw_buf_and_status_later(buf_T *buf, int type)
{
win_T *wp;

#ifdef FEAT_WILDMENU
if (wild_menu_showing != 0)
/* Don't redraw while the command line completion is displayed, it
* would disappear. */
return;
#endif
FOR_ALL_WINDOWS(wp)
{
if (wp->w_buffer == buf)
Expand Down Expand Up @@ -450,7 +452,11 @@ redraw_after_callback(void)
{
/* Redrawing only works when the screen didn't scroll. Don't clear
* wildmenu entries. */
if (msg_scrolled == 0 && wild_menu_showing == 0)
if (msg_scrolled == 0
#ifdef FEAT_WILDMENU
&& wild_menu_showing == 0
#endif
)
update_screen(0);
/* Redraw in the same position, so that the user can continue
* editing the command. */
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
711,
/**/
710,
/**/
Expand Down

0 comments on commit 85dad2c

Please sign in to comment.