]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-114 v7.0.114
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Oct 2006 13:36:13 +0000 (13:36 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Oct 2006 13:36:13 +0000 (13:36 +0000)
src/getchar.c
src/version.c

index f840e0bd4b3bd0974e67933fad7b6e2998089480..e623ce666c087c48749066a645b7a63c804c646c 100644 (file)
@@ -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;
index 50dc267150eba9d8ce69f894545aa3a39040bd00..5aaccff3ae0f4c9fc528b9fbfd2fdd95c391d5ce 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    114,
 /**/
     113,
 /**/