From 4d0504019cc744a5122821f187dd3adfe536afff Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 9 Jan 2017 12:58:11 +0100 Subject: [PATCH] patch 8.0.0161: can't build with small features Problem: Build fails when using small features. Solution: Update #ifdef for using save_ccline. (Hirohito Higashi) --- src/ex_getln.c | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ex_getln.c b/src/ex_getln.c index cf99ae2a8..162e55590 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -212,7 +212,8 @@ getcmdline( #endif expand_T xpc; long *b_im_ptr = NULL; -#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) || defined(FEAT_SEARCH_EXTRA) +#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) \ + || defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CMDWIN) /* Everything that may work recursively should save and restore the * current command line in save_ccline. That includes update_screen(), a * custom status line may invoke ":normal". */ diff --git a/src/version.c b/src/version.c index 641c72c40..7f52cab80 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 161, /**/ 160, /**/ -- 2.50.1