summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2014-09-09 17:47:38 +0200
committerBram Moolenaar <bram@vim.org>2014-09-09 17:47:38 +0200
commitd1fd86dc1cdf04102c399eb6985bce78d78ffea5 (patch)
tree4879efe991a36ffa15d28ea7e635b81b9e600aa7
parentb079138adbf29129c0f3fdc01d97e13ad8a1c27e (diff)
downloadvim-d1fd86dc1cdf04102c399eb6985bce78d78ffea5.tar.gz
updated for version 7.4.439v7.4.439v7-4-439
Problem: Duplicate message in message history. Some quickfix messages appear twice. (Gary Johnson) Solution: Do not reset keep_msg too early. (Hirohito Higashi)
-rw-r--r--src/main.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 70d29117..73f6697a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);
}
diff --git a/src/version.c b/src/version.c
index 0ad0376f..edc87f35 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 439,
+/**/
438,
/**/
437,