Skip to content

Commit

Permalink
patch 8.2.5149: cannot build without the +eval feature
Browse files Browse the repository at this point in the history
Problem:    Cannot build without the +eval feature. (Tony Mechelynck)
Solution:   Add #ifdefs.
  • Loading branch information
brammool committed Jun 22, 2022
1 parent 6046ade commit 6689df0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ex_getln.c
Expand Up @@ -1206,7 +1206,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
{
int i;
int c;
#ifdef FEAT_EVAL
int save_new_cmdpos = new_cmdpos;
#endif

#ifdef USE_ON_FLY_SCROLL
dont_scroll = TRUE; // disallow scrolling here
Expand Down Expand Up @@ -1265,7 +1267,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
}
#endif
}
#ifdef FEAT_EVAL
new_cmdpos = save_new_cmdpos;
#endif

// remove the double quote
redrawcmd();
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -734,6 +734,8 @@ static char *(features[]) =

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

0 comments on commit 6689df0

Please sign in to comment.