2032aba
To: vim-dev@vim.org
2032aba
Subject: Patch 7.0.019
2032aba
Fcc: outbox
2032aba
From: Bram Moolenaar <Bram@moolenaar.net>
2032aba
Mime-Version: 1.0
2032aba
Content-Type: text/plain; charset=ISO-8859-1
2032aba
Content-Transfer-Encoding: 8bit
2032aba
------------
2032aba
2032aba
Patch 7.0.019
2032aba
Problem:    Repeating "VjA789" may cause a crash. (James Vega)
2032aba
Solution:   Check the cursor column after moving it to another line.
2032aba
Files:	    src/ops.c
2032aba
2032aba
2032aba
*** ../vim-7.0.018/src/ops.c	Sun Apr 30 20:45:12 2006
2032aba
--- src/ops.c	Tue Jun 20 12:49:46 2006
2032aba
***************
2032aba
*** 2413,2418 ****
2032aba
--- 2413,2419 ----
2032aba
  	else
2032aba
  	{
2032aba
  	    curwin->w_cursor = oap->end;
2032aba
+ 	    check_cursor_col();
2032aba
  
2032aba
  	    /* Works just like an 'i'nsert on the next character. */
2032aba
  	    if (!lineempty(curwin->w_cursor.lnum)
2032aba
*** ../vim-7.0.018/src/version.c	Mon Jun 19 10:56:20 2006
2032aba
--- src/version.c	Tue Jun 20 12:55:10 2006
2032aba
***************
2032aba
*** 668,669 ****
2032aba
--- 668,671 ----
2032aba
  {   /* Add new patch number below this line */
2032aba
+ /**/
2032aba
+     19,
2032aba
  /**/
2032aba
2032aba
-- 
2032aba
Two cows are standing together in a field.  One asks the other:
2032aba
"So what do you think about this Mad Cow Disease?"
2032aba
The other replies: "That doesn't concern me. I'm a helicopter."
2032aba
2032aba
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
2032aba
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
2032aba
\\\        download, build and distribute -- http://www.A-A-P.org        ///
2032aba
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///