Mercurial > vim
comparison src/quickfix.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 | 079e10a49ea1 |
children | 4cc8a1a134fc |
comparison
equal
deleted
inserted
replaced
17949:286cbea6f0cc | 17950:bb0e25a8b5d7 |
---|---|
3379 char_u *old_swb = p_swb; | 3379 char_u *old_swb = p_swb; |
3380 unsigned old_swb_flags = swb_flags; | 3380 unsigned old_swb_flags = swb_flags; |
3381 int prev_winid; | 3381 int prev_winid; |
3382 int opened_window = FALSE; | 3382 int opened_window = FALSE; |
3383 int print_message = TRUE; | 3383 int print_message = TRUE; |
3384 #ifdef FEAT_FOLDING | |
3385 int old_KeyTyped = KeyTyped; // getting file may reset it | 3384 int old_KeyTyped = KeyTyped; // getting file may reset it |
3386 #endif | |
3387 int retval = OK; | 3385 int retval = OK; |
3388 | 3386 |
3389 if (qi == NULL) | 3387 if (qi == NULL) |
3390 qi = &ql_info; | 3388 qi = &ql_info; |
3391 | 3389 |
3425 goto failed; | 3423 goto failed; |
3426 if (retval == NOTDONE) | 3424 if (retval == NOTDONE) |
3427 goto theend; | 3425 goto theend; |
3428 | 3426 |
3429 retval = qf_jump_to_buffer(qi, qf_index, qf_ptr, forceit, prev_winid, | 3427 retval = qf_jump_to_buffer(qi, qf_index, qf_ptr, forceit, prev_winid, |
3430 &opened_window, old_KeyTyped, print_message); | 3428 &opened_window, old_KeyTyped, print_message); |
3431 if (retval == NOTDONE) | 3429 if (retval == NOTDONE) |
3432 { | 3430 { |
3433 // Quickfix/location list is freed by an autocmd | 3431 // Quickfix/location list is freed by an autocmd |
3434 qi = NULL; | 3432 qi = NULL; |
3435 qf_ptr = NULL; | 3433 qf_ptr = NULL; |