Blame SOURCES/7.4.514

d6ba96
To: vim_dev@googlegroups.com
d6ba96
Subject: Patch 7.4.514
d6ba96
Fcc: outbox
d6ba96
From: Bram Moolenaar <Bram@moolenaar.net>
d6ba96
Mime-Version: 1.0
d6ba96
Content-Type: text/plain; charset=UTF-8
d6ba96
Content-Transfer-Encoding: 8bit
d6ba96
------------
d6ba96
d6ba96
Patch 7.4.514 (after 7.4.492)
d6ba96
Problem:    Memory access error. (Dominique Pelle)
d6ba96
Solution:   Update tpos. (Christian Brabandt)
d6ba96
Files:	    src/edit.c
d6ba96
d6ba96
d6ba96
*** ../vim-7.4.513/src/edit.c	2014-10-31 19:20:30.782742928 +0100
d6ba96
--- src/edit.c	2014-11-12 18:53:10.890098796 +0100
d6ba96
***************
d6ba96
*** 6918,6923 ****
d6ba96
--- 6918,6925 ----
d6ba96
  		curwin->w_cursor = tpos;
d6ba96
  	    else
d6ba96
  	    {
d6ba96
+ 		/* reset tpos, could have been invalidated in the loop above */
d6ba96
+ 		tpos = curwin->w_cursor;
d6ba96
  		tpos.col++;
d6ba96
  		if (cc != NUL && gchar_pos(&tpos) == NUL)
d6ba96
  		    ++curwin->w_cursor.col;	/* put cursor back on the NUL */
d6ba96
*** ../vim-7.4.513/src/version.c	2014-11-12 18:49:12.992752234 +0100
d6ba96
--- src/version.c	2014-11-12 18:52:50.738323726 +0100
d6ba96
***************
d6ba96
*** 743,744 ****
d6ba96
--- 743,746 ----
d6ba96
  {   /* Add new patch number below this line */
d6ba96
+ /**/
d6ba96
+     514,
d6ba96
  /**/
d6ba96
d6ba96
-- 
d6ba96
My girlfriend told me I should be more affectionate.
d6ba96
So I got TWO girlfriends.
d6ba96
d6ba96
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
d6ba96
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
d6ba96
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
d6ba96
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///