Skip to content

Commit

Permalink
vim-patch:7.4.439 neovim#1245
Browse files Browse the repository at this point in the history
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
  • Loading branch information
NOLFXceptMe authored and justinmk committed Oct 16, 2014
1 parent 3195aad commit af40647
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/nvim/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/nvim/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static int included_patches[] = {
//442,
//441,
//440,
//439,
439,
//438,
//437,
436,
Expand Down

0 comments on commit af40647

Please sign in to comment.