summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-03 20:11:13 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-03 20:11:13 +0000
commit4142324d253f27f9a9179509fab10f9986032bcb (patch)
tree2e1256dae61adef78c7825829f3648924878ae59 /src/ex_cmds2.c
parentee79cbc7afdc87a185542c0a7ef6d4fd4e5271dd (diff)
updated for version 7.0-241v7.0.241
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index e5e1f65c6d..6480377b7b 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -2287,6 +2287,8 @@ ex_listdo(eap)
if (!win_valid(wp))
break;
win_goto(wp);
+ if (curwin != wp)
+ break; /* something must be wrong */
wp = curwin->w_next;
}
else if (eap->cmdidx == CMD_tabdo)