diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-25 13:54:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-25 13:54:16 +0100 |
commit | 2e6dcbc4450c98bd12faace5d77a65f2afddae44 (patch) | |
tree | 5de99be345a8a01e89673b53c1d2bc114090457c | |
parent | 2eddbacd6dc17c84e4bdc41e60e81949a36bb973 (diff) |
patch 9.0.0262: build failure without the +quickfix featurev9.0.0262
Problem: Build failure without the +quickfix feature.
Solution: Add #ifdef.
-rw-r--r-- | src/buffer.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index cfed0f327c..f2f32e1a62 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -222,7 +222,9 @@ open_buffer( // Read the file if there is one. if (curbuf->b_ffname != NULL +#ifdef FEAT_QUICKFIX && !bt_quickfix(curbuf) +#endif && !bt_nofilename(curbuf) #ifdef FEAT_NETBEANS_INTG && netbeansReadFile diff --git a/src/version.c b/src/version.c index 867d971746..8ca27a523b 100644 --- a/src/version.c +++ b/src/version.c @@ -732,6 +732,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 262, +/**/ 261, /**/ 260, |