commit | 91335e5a67aaa9937e65f1e779b9f3f10fd33ee4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Aug 01 17:53:12 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Aug 01 17:53:12 2018 +0200 |
tree | ab7a421b7c2dda741870488578e857c237adf517 | |
parent | d2855f5454c5c6c5f786b228c5b67757edfefcb1 [diff] [blame] |
patch 8.1.0230: directly checking 'buftype' value Problem: Directly checking 'buftype' value. Solution: Add the bt_normal() function. (Yegappan Lakshmanan)
diff --git a/src/fileio.c b/src/fileio.c index 07b241e..281191c 100644 --- a/src/fileio.c +++ b/src/fileio.c
@@ -6897,7 +6897,7 @@ * this buffer. */ if (buf->b_ffname == NULL || buf->b_ml.ml_mfp == NULL - || *buf->b_p_bt != NUL + || !bt_normal(buf) || buf->b_saving || busy #ifdef FEAT_NETBEANS_INTG