0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.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)
This commit is contained in:
Bram Moolenaar
2014-09-09 17:47:38 +02:00
parent 5a4eceb02a
commit f638cbce76
2 changed files with 4 additions and 2 deletions

View 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);
}