diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-01-17 22:06:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-01-17 22:06:23 +0000 |
commit | 89e5d68d4224908cb6e6dcf6a4dee78783bc3078 (patch) | |
tree | 28a0969b858d6cf9f233fa12b54b2c494fc7d514 /src | |
parent | 7480b5cefe0260bf9b2a5ca01cb75674a63cdaaf (diff) | |
download | vim-git-89e5d68d4224908cb6e6dcf6a4dee78783bc3078.tar.gz |
updated for version 7.0041
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_docmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 48edb2e74..44c290d1f 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -1244,8 +1244,8 @@ do_cmdline(cmdline, getline, cookie, flags) { int idx = cleanup_conditionals(&cstack, 0, TRUE); - if (idx == cstack.cs_idx) - --idx; /* remove at least one */ + if (idx >= 0) + --idx; /* remove try block not in its finally clause */ rewind_conditionals(&cstack, idx, CSF_WHILE | CSF_FOR, &cstack.cs_looplevel); } |