From abdcc5fe85f0677cbd6d2be1411da101dd0e7e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Twupack?= Date: Sat, 13 Sep 2014 18:50:57 +0200 Subject: [PATCH] ex_cmds2.c:fix for issue #1164 fix condition while iterating over all buffers --- src/nvim/ex_cmds2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 17905c3046..c3d34e9991 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -1914,7 +1914,7 @@ void ex_listdo(exarg_T *eap) break; } } - if (buf_still_exists) { + if (!buf_still_exists) { break; }