mirror of
https://github.com/vim/vim.git
synced 2026-05-28 00:21:37 +02:00
patch 9.2.0058: Compile error in did_set_previewpopup()
Problem: Compile error in did_set_previewpopup() when quickfix
feature is not included (John Marriott, after v9.2.0051)
Solution: Add ifdef FEAT_QUICKFIX (John Marriott)
related: #18873
Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
71ace8ba8c
commit
aa18b85df5
@@ -3418,7 +3418,9 @@ did_set_previewpopup(optset_T *args UNUSED)
|
||||
if (parse_previewpopup(NULL) == FAIL)
|
||||
return e_invalid_argument;
|
||||
|
||||
# if defined(FEAT_QUICKFIX)
|
||||
popup_close_info();
|
||||
# endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
58,
|
||||
/**/
|
||||
57,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user