aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/main.c6
-rw-r--r--src/nvim/version.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 81621b0d80..128d1a784c 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -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);
}
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 5fa36b8d3d..18046f9617 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -193,7 +193,7 @@ static int included_patches[] = {
//442,
//441,
//440,
- //439,
+ 439,
//438,
//437,
436,