mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +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) {
|
if (keep_msg != NULL) {
|
||||||
char_u *p;
|
char_u *p;
|
||||||
|
|
||||||
/* msg_attr_keep() will set keep_msg to NULL, must free the
|
// msg_attr_keep() will set keep_msg to NULL, must free the string
|
||||||
* string here. */
|
// here. Don't reset keep_msg, msg_attr_keep() uses it to check for
|
||||||
|
// duplicates.
|
||||||
p = keep_msg;
|
p = keep_msg;
|
||||||
keep_msg = NULL;
|
|
||||||
msg_attr(p, keep_msg_attr);
|
msg_attr(p, keep_msg_attr);
|
||||||
free(p);
|
free(p);
|
||||||
}
|
}
|
||||||
|
@@ -193,7 +193,7 @@ static int included_patches[] = {
|
|||||||
//442,
|
//442,
|
||||||
//441,
|
//441,
|
||||||
//440,
|
//440,
|
||||||
//439,
|
439,
|
||||||
//438,
|
//438,
|
||||||
//437,
|
//437,
|
||||||
436,
|
436,
|
||||||
|
Reference in New Issue
Block a user