From: Bram Moolenaar Date: Mon, 17 Jan 2005 22:06:23 +0000 (+0000) Subject: updated for version 7.0041 X-Git-Tag: v7.0041~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89e5d68d4224908cb6e6dcf6a4dee78783bc3078;p=vim updated for version 7.0041 --- 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); }