From 5a030a540f4157d5c9905e3564282c92b4dcec9a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 1 Dec 2016 17:48:29 +0100 Subject: patch 8.0.0110 Problem: Drop command doesn't use existing window. Solution: Check the window width properly. (Hirohito Higashi) --- src/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index e5d2dde25..e77fc0497 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 { -- cgit v1.2.1