# HG changeset patch # User vimboss # Date 1159882573 0 # Node ID cec8b867838bc2a5b5f5bb0146010060639fea90 # Parent e625dad74346d76132cbcf6ddf98b95d2c8fbfe5 updated for version 7.0-114 diff --git a/src/getchar.c b/src/getchar.c --- a/src/getchar.c +++ b/src/getchar.c @@ -1960,10 +1960,13 @@ vgetorpeek(advance) c = Ctrl_C; flush_buffers(TRUE); /* flush all typeahead */ - /* Also record this character, it might be needed to - * get out of Insert mode. */ - *typebuf.tb_buf = c; - gotchars(typebuf.tb_buf, 1); + if (advance) + { + /* Also record this character, it might be needed to + * get out of Insert mode. */ + *typebuf.tb_buf = c; + gotchars(typebuf.tb_buf, 1); + } cmd_silent = FALSE; break; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 114, +/**/ 113, /**/ 112,