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