diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-12-01 17:48:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-12-01 17:48:29 +0100 |
commit | 5a030a540f4157d5c9905e3564282c92b4dcec9a (patch) | |
tree | aed80b43f0c4fed9445a8a8a11d2896e57c8977b /src/buffer.c | |
parent | b129a447f3b580d4c941869672b0557c52c37e4d (diff) |
patch 8.0.0110v8.0.0110
Problem: Drop command doesn't use existing window.
Solution: Check the window width properly. (Hirohito Higashi)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index e5d2dde255..e77fc04976 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4858,8 +4858,8 @@ do_arg_all( wpnext = wp->w_next; buf = wp->w_buffer; if (buf->b_ffname == NULL - || (!keep_tabs && buf->b_nwindows > 1) - || wp->w_width != Columns) + || (!keep_tabs && (buf->b_nwindows > 1 + || wp->w_width != Columns))) i = opened_len; else { |