]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0058: Compile error in did_set_previewpopup() v9.2.0058
authorJohn Marriott <basilisk@internode.on.net>
Wed, 25 Feb 2026 20:26:45 +0000 (20:26 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 25 Feb 2026 20:26:45 +0000 (20:26 +0000)
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>
src/optionstr.c
src/version.c

index 3809b594af8a018db75767854fc474744d40959b..7e2ac656769bb0674e4a5846805f48509568ef35 100644 (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;
 }
 
index c78d36663dd510b334c7b15e178434fd4bc65655..2f389a74e1b45bb9e631075cb1aa6c155b87d24f 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    58,
 /**/
     57,
 /**/