1
0
forked from aniani/vim

updated for version 7.4.441

Problem:    Endless loop and other problems when 'cedit' is set to CTRL-C.
Solution:   Do not call ex_window() when ex_normal_busy or got_int was set.
            (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2014-09-09 18:45:49 +02:00
parent 834def3872
commit 58da707d24
2 changed files with 10 additions and 5 deletions

View File

@@ -759,11 +759,14 @@ getcmdline(firstc, count, indent)
#ifdef FEAT_CMDWIN
if (c == cedit_key || c == K_CMDWIN)
{
/*
* Open a window to edit the command line (and history).
*/
c = ex_window();
some_key_typed = TRUE;
if (ex_normal_busy == 0 && got_int == FALSE)
{
/*
* Open a window to edit the command line (and history).
*/
c = ex_window();
some_key_typed = TRUE;
}
}
# ifdef FEAT_DIGRAPHS
else

View File

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