mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 13:08:33 +00:00
vim-patch:7.4.439 #1245
Problem: Duplicate message in message history. Some quickfix messages appear twice. (Gary Johnson) Solution: Do not reset keep_msg too early. (Hirohito Higashi) https://code.google.com/p/vim/source/detail?r=v7-4-439
This commit is contained in:

committed by
Justin M. Keyes

parent
3195aadf27
commit
af40647b66
@@ -681,10 +681,10 @@ main_loop (
|
||||
if (keep_msg != NULL) {
|
||||
char_u *p;
|
||||
|
||||
/* msg_attr_keep() will set keep_msg to NULL, must free the
|
||||
* string here. */
|
||||
// msg_attr_keep() will set keep_msg to NULL, must free the 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);
|
||||
free(p);
|
||||
}
|
||||
|
@@ -193,7 +193,7 @@ static int included_patches[] = {
|
||||
//442,
|
||||
//441,
|
||||
//440,
|
||||
//439,
|
||||
439,
|
||||
//438,
|
||||
//437,
|
||||
436,
|
||||
|
Reference in New Issue
Block a user