Karsten Hopp 08c42a
To: vim_dev@googlegroups.com
Karsten Hopp 08c42a
Subject: Patch 7.4.439
Karsten Hopp 08c42a
Fcc: outbox
Karsten Hopp 08c42a
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 08c42a
Mime-Version: 1.0
Karsten Hopp 08c42a
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 08c42a
Content-Transfer-Encoding: 8bit
Karsten Hopp 08c42a
------------
Karsten Hopp 08c42a
Karsten Hopp 08c42a
Patch 7.4.439
Karsten Hopp 08c42a
Problem:    Duplicate message in message history.  Some quickfix messages
Karsten Hopp 08c42a
	    appear twice. (Gary Johnson)
Karsten Hopp 08c42a
Solution:   Do not reset keep_msg too early. (Hirohito Higashi)
Karsten Hopp 08c42a
Files:	    src/main.c
Karsten Hopp 08c42a
Karsten Hopp 08c42a
Karsten Hopp 08c42a
*** ../vim-7.4.438/src/main.c	2014-09-09 12:25:27.764501863 +0200
Karsten Hopp 08c42a
--- src/main.c	2014-09-09 17:37:56.612542817 +0200
Karsten Hopp 08c42a
***************
Karsten Hopp 08c42a
*** 1249,1257 ****
Karsten Hopp 08c42a
  		char_u *p;
Karsten Hopp 08c42a
  
Karsten Hopp 08c42a
  		/* msg_attr_keep() will set keep_msg to NULL, must free the
Karsten Hopp 08c42a
! 		 * string here. */
Karsten Hopp 08c42a
  		p = keep_msg;
Karsten Hopp 08c42a
- 		keep_msg = NULL;
Karsten Hopp 08c42a
  		msg_attr(p, keep_msg_attr);
Karsten Hopp 08c42a
  		vim_free(p);
Karsten Hopp 08c42a
  	    }
Karsten Hopp 08c42a
--- 1249,1257 ----
Karsten Hopp 08c42a
  		char_u *p;
Karsten Hopp 08c42a
  
Karsten Hopp 08c42a
  		/* msg_attr_keep() will set keep_msg to NULL, must free the
Karsten Hopp 08c42a
! 		 * string here. Don't reset keep_msg, msg_attr_keep() uses it
Karsten Hopp 08c42a
! 		 * to check for duplicates. */
Karsten Hopp 08c42a
  		p = keep_msg;
Karsten Hopp 08c42a
  		msg_attr(p, keep_msg_attr);
Karsten Hopp 08c42a
  		vim_free(p);
Karsten Hopp 08c42a
  	    }
Karsten Hopp 08c42a
*** ../vim-7.4.438/src/version.c	2014-09-09 17:33:02.704542175 +0200
Karsten Hopp 08c42a
--- src/version.c	2014-09-09 17:41:11.984543243 +0200
Karsten Hopp 08c42a
***************
Karsten Hopp 08c42a
*** 743,744 ****
Karsten Hopp 08c42a
--- 743,746 ----
Karsten Hopp 08c42a
  {   /* Add new patch number below this line */
Karsten Hopp 08c42a
+ /**/
Karsten Hopp 08c42a
+     439,
Karsten Hopp 08c42a
  /**/
Karsten Hopp 08c42a
Karsten Hopp 08c42a
-- 
Karsten Hopp 08c42a
Corduroy pillows: They're making headlines!
Karsten Hopp 08c42a
Karsten Hopp 08c42a
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 08c42a
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 08c42a
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 08c42a
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///