diff options
author | Bram Moolenaar <bram@vim.org> | 2014-09-09 17:47:38 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2014-09-09 17:47:38 +0200 |
commit | d1fd86dc1cdf04102c399eb6985bce78d78ffea5 (patch) | |
tree | 4879efe991a36ffa15d28ea7e635b81b9e600aa7 | |
parent | b079138adbf29129c0f3fdc01d97e13ad8a1c27e (diff) | |
download | vim-d1fd86dc1cdf04102c399eb6985bce78d78ffea5.tar.gz |
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.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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, |