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:
John Marriott
2026-02-25 20:26:45 +00:00
committed by Christian Brabandt
parent 71ace8ba8c
commit aa18b85df5
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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;
}
+2
View File
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
58,
/**/
57,
/**/