0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0041

This commit is contained in:
Bram Moolenaar
2005-01-17 22:06:23 +00:00
parent 7480b5cefe
commit 89e5d68d42

View File

@@ -1244,8 +1244,8 @@ do_cmdline(cmdline, getline, cookie, flags)
{ {
int idx = cleanup_conditionals(&cstack, 0, TRUE); int idx = cleanup_conditionals(&cstack, 0, TRUE);
if (idx == cstack.cs_idx) if (idx >= 0)
--idx; /* remove at least one */ --idx; /* remove try block not in its finally clause */
rewind_conditionals(&cstack, idx, CSF_WHILE | CSF_FOR, rewind_conditionals(&cstack, idx, CSF_WHILE | CSF_FOR,
&cstack.cs_looplevel); &cstack.cs_looplevel);
} }