comparison src/main.c @ 6207:07b28e96af8b v7.4.439

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)
author Bram Moolenaar <bram@vim.org>
date Tue, 09 Sep 2014 17:47:38 +0200
parents 59cd2b16f718
children 1138726736fb
comparison
equal deleted inserted replaced
6206:a1c3b460a9a8 6207:07b28e96af8b
1247 if (keep_msg != NULL) 1247 if (keep_msg != NULL)
1248 { 1248 {
1249 char_u *p; 1249 char_u *p;
1250 1250
1251 /* msg_attr_keep() will set keep_msg to NULL, must free the 1251 /* msg_attr_keep() will set keep_msg to NULL, must free the
1252 * string here. */ 1252 * string here. Don't reset keep_msg, msg_attr_keep() uses it
1253 * to check for duplicates. */
1253 p = keep_msg; 1254 p = keep_msg;
1254 keep_msg = NULL;
1255 msg_attr(p, keep_msg_attr); 1255 msg_attr(p, keep_msg_attr);
1256 vim_free(p); 1256 vim_free(p);
1257 } 1257 }
1258 if (need_fileinfo) /* show file info after redraw */ 1258 if (need_fileinfo) /* show file info after redraw */
1259 { 1259 {