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