comparison src/buffer.c @ 16261:2001ef982570 v8.1.1135

patch 8.1.1135: build failure for small version commit https://github.com/vim/vim/commit/d85c396d5149a87677e30742f92b2ecfe28af8a6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 7 14:19:14 2019 +0200 patch 8.1.1135: build failure for small version Problem: Build failure for small version. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Apr 2019 14:30:05 +0200
parents 1f18984498e1
children 5b5c5daf57de
comparison
equal deleted inserted replaced
16260:d7a7a7508876 16261:2001ef982570
1851 { 1851 {
1852 return (curbuf != NULL 1852 return (curbuf != NULL
1853 && curbuf->b_ffname == NULL 1853 && curbuf->b_ffname == NULL
1854 && curbuf->b_nwindows <= 1 1854 && curbuf->b_nwindows <= 1
1855 && (curbuf->b_ml.ml_mfp == NULL || BUFEMPTY()) 1855 && (curbuf->b_ml.ml_mfp == NULL || BUFEMPTY())
1856 #if defined(FEAT_QUICKFIX)
1856 && !bt_quickfix(curbuf) 1857 && !bt_quickfix(curbuf)
1858 #endif
1857 && !curbufIsChanged()); 1859 && !curbufIsChanged());
1858 } 1860 }
1859 1861
1860 /* 1862 /*
1861 * Add a file name to the buffer list. Return a pointer to the buffer. 1863 * Add a file name to the buffer list. Return a pointer to the buffer.