Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
17949:286cbea6f0cc | 17950:bb0e25a8b5d7 |
---|---|
758 # ifdef FEAT_TEXT_PROP | 758 # ifdef FEAT_TEXT_PROP |
759 int use_popup = strstr((char *)p_cot, "popup") != NULL; | 759 int use_popup = strstr((char *)p_cot, "popup") != NULL; |
760 # else | 760 # else |
761 # define use_popup 0 | 761 # define use_popup 0 |
762 # endif | 762 # endif |
763 # ifdef FEAT_TEXT_PROP | |
763 has_info = TRUE; | 764 has_info = TRUE; |
764 | 765 # endif |
765 // Open a preview window. 3 lines by default. Prefer | 766 // Open a preview window. 3 lines by default. Prefer |
766 // 'previewheight' if set and smaller. | 767 // 'previewheight' if set and smaller. |
767 g_do_tagpreview = 3; | 768 g_do_tagpreview = 3; |
768 if (p_pvh > 0 && p_pvh < g_do_tagpreview) | 769 if (p_pvh > 0 && p_pvh < g_do_tagpreview) |
769 g_do_tagpreview = p_pvh; | 770 g_do_tagpreview = p_pvh; |