diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-25 15:11:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-25 15:11:15 +0100 |
commit | 6d4b2f54df5d533eb0794331f38445a6ca5d3a3f (patch) | |
tree | 0a6011c47bb9cf12806cb0484016ce6f071fc361 /src/change.c | |
parent | 2e6dcbc4450c98bd12faace5d77a65f2afddae44 (diff) |
patch 9.0.0263: too many #ifdefsv9.0.0263
Problem: Too many #ifdefs.
Solution: Make some functions always available.
Diffstat (limited to 'src/change.c')
-rw-r--r-- | src/change.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/change.c b/src/change.c index 51ffe28524..71ad9eaf87 100644 --- a/src/change.c +++ b/src/change.c @@ -100,11 +100,7 @@ changed(void) // Create a swap file if that is wanted. // Don't do this for "nofile" and "nowrite" buffer types. - if (curbuf->b_may_swap -#ifdef FEAT_QUICKFIX - && !bt_dontwrite(curbuf) -#endif - ) + if (curbuf->b_may_swap && !bt_dontwrite(curbuf)) { int save_need_wait_return = need_wait_return; |