aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-12 02:59:29 +0100
committerGitHub <noreply@github.com>2018-02-12 02:59:29 +0100
commit9e9e4431c122f3b98fb0e7498b6572ceac0bca53 (patch)
treea28f207390cdbbd27a468537e9065f3b8bfa1cbd /src/nvim/window.c
parent418947fcb34c46af895994ef9ba10a85d2d4c6c2 (diff)
parent7da4d1561bd29615257a3f61073b5cf39f1f7463 (diff)
downloadrneovim-9e9e4431c122f3b98fb0e7498b6572ceac0bca53.tar.gz
rneovim-9e9e4431c122f3b98fb0e7498b6572ceac0bca53.tar.bz2
rneovim-9e9e4431c122f3b98fb0e7498b6572ceac0bca53.zip
Merge #8001 from justinmk/vimpatches
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 8d7e20bb73..b4ef901d94 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -2858,7 +2858,7 @@ close_others (
if (bufIsChanged(wp->w_buffer))
continue;
}
- win_close(wp, !P_HID(wp->w_buffer) && !bufIsChanged(wp->w_buffer));
+ win_close(wp, !buf_hide(wp->w_buffer) && !bufIsChanged(wp->w_buffer));
}
if (message && !ONE_WINDOW)