0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.1971: manually enabling features causes build errors

Problem:    Manually enabling features causes build errors. (John Marriott)
Solution:   Adjust #ifdefs.
This commit is contained in:
Bram Moolenaar
2019-09-03 23:20:05 +02:00
parent 19e8ac72e9
commit d570ab95d9
6 changed files with 28 additions and 37 deletions

View File

@@ -3381,9 +3381,7 @@ qf_jump_newwin(qf_info_T *qi,
int prev_winid;
int opened_window = FALSE;
int print_message = TRUE;
#ifdef FEAT_FOLDING
int old_KeyTyped = KeyTyped; // getting file may reset it
#endif
int retval = OK;
if (qi == NULL)
@@ -3427,7 +3425,7 @@ qf_jump_newwin(qf_info_T *qi,
goto theend;
retval = qf_jump_to_buffer(qi, qf_index, qf_ptr, forceit, prev_winid,
&opened_window, old_KeyTyped, print_message);
&opened_window, old_KeyTyped, print_message);
if (retval == NOTDONE)
{
// Quickfix/location list is freed by an autocmd