diff src/popupmnu.c @ 17950:bb0e25a8b5d7 v8.1.1971

patch 8.1.1971: manually enabling features causes build errors Commit: https://github.com/vim/vim/commit/d570ab95d9ab0616f7d7cff59302617e612eae41 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 3 23:20:05 2019 +0200 patch 8.1.1971: manually enabling features causes build errors Problem: Manually enabling features causes build errors. (John Marriott) Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Sep 2019 23:30:04 +0200
parents 1f74a3c600a3
children
line wrap: on
line diff
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -760,8 +760,9 @@ pum_set_selected(int n, int repeat UNUSE
 # else
 #  define use_popup 0
 # endif
+# ifdef FEAT_TEXT_PROP
 	    has_info = TRUE;
-
+# endif
 	    // Open a preview window.  3 lines by default.  Prefer
 	    // 'previewheight' if set and smaller.
 	    g_do_tagpreview = 3;