]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.0.0589: :simalt still does not work v8.0.0589
authorBram Moolenaar <Bram@vim.org>
Sat, 29 Apr 2017 15:40:22 +0000 (17:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 29 Apr 2017 15:40:22 +0000 (17:40 +0200)
Problem:    :simalt still does not work.
Solution:   Use K_NOP instead of K_IGNORE. (Christian Brabandt)

src/gui_w32.c
src/version.c

index 52db8f4a372bbf8a24eb4dde89ac3d280e4c7deb..611902557e2ed83c752f46d37ad479bdfac12bd3 100644 (file)
@@ -2642,11 +2642,11 @@ ex_simalt(exarg_T *eap)
     }
     if (fill_typebuf)
     {
-       /* Put something in the typeahead buffer so that the message will get
+       /* Put a NOP in the typeahead buffer so that the message will get
         * processed. */
        key_name[0] = K_SPECIAL;
        key_name[1] = KS_EXTRA;
-       key_name[2] = KE_IGNORE;
+       key_name[2] = KE_NOP;
        key_name[3] = NUL;
        typebuf_was_filled = TRUE;
        (void)ins_typebuf(key_name, REMAP_NONE, 0, TRUE, FALSE);
index 3b84b05e154f197b71b96529ebf039d9f1baacc2..200ace01ad8c3809f619c6d84d663950468d2ae8 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    589,
 /**/
     588,
 /**/