diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-06 15:25:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-06 15:25:42 +0100 |
commit | a1f4cb93ba50ea9e40cd4b1f5592b8a6d1398660 (patch) | |
tree | f2b42367e5ced2e5c070683fafb1a75b360086c4 /src/buffer.c | |
parent | 25de4c232d580583feadae11ab34e3cc6333c350 (diff) |
patch 8.0.0069v8.0.0069
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add #ifdef.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 509a7bcd40..8b1bceb253 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4935,7 +4935,7 @@ do_arg_all( } #ifdef FEAT_WINDOWS /* don't close last window */ - if (firstwin == lastwin + if (ONE_WINDOW && (first_tabpage->tp_next == NULL || !had_tab)) #endif use_firstwin = TRUE; |