]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.439 v7.4.439
authorBram Moolenaar <Bram@vim.org>
Tue, 9 Sep 2014 15:47:38 +0000 (17:47 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 9 Sep 2014 15:47:38 +0000 (17:47 +0200)
Problem:    Duplicate message in message history.  Some quickfix messages
            appear twice. (Gary Johnson)
Solution:   Do not reset keep_msg too early. (Hirohito Higashi)

src/main.c
src/version.c

index 70d291171f44bda8544ca32ed2b5e1adf8ad5b7f..73f6697ac63e496fb4af22bd59dc2502fa82d287 100644 (file)
@@ -1249,9 +1249,9 @@ main_loop(cmdwin, noexmode)
                char_u *p;
 
                /* msg_attr_keep() will set keep_msg to NULL, must free the
-                * string here. */
+                * string here. Don't reset keep_msg, msg_attr_keep() uses it
+                * to check for duplicates. */
                p = keep_msg;
-               keep_msg = NULL;
                msg_attr(p, keep_msg_attr);
                vim_free(p);
            }
index 0ad0376f8229469ce44050236225cfbd05202f9c..edc87f354816973ff2c009b9df8d54f5b74982d5 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    439,
 /**/
     438,
 /**/