1
0
forked from aniani/vim

updated for version 7.3.057

Problem:    Segfault with command line abbreviation. (Randy Morris)
Solution:   Don't retrigger the abbreviation when abandoning the command line.
            Continue editing the command line after the error.
This commit is contained in:
Bram Moolenaar 2010-11-16 14:06:08 +01:00
parent bf55e1442d
commit 66b4bf8980
2 changed files with 7 additions and 1 deletions

View File

@ -712,7 +712,11 @@ getcmdline(firstc, count, indent)
}
}
beep_flush();
c = ESC;
got_int = FALSE; /* don't abandon the command line */
did_emsg = FALSE;
emsg_on_display = FALSE;
redrawcmd();
goto cmdline_not_changed;
}
#endif
else

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
57,
/**/
56,
/**/