Karsten Hopp ad3aa5
To: vim_dev@googlegroups.com
Karsten Hopp ad3aa5
Subject: Patch 7.3.254
Karsten Hopp ad3aa5
Fcc: outbox
Karsten Hopp ad3aa5
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ad3aa5
Mime-Version: 1.0
Karsten Hopp ad3aa5
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ad3aa5
Content-Transfer-Encoding: 8bit
Karsten Hopp ad3aa5
------------
Karsten Hopp ad3aa5
Karsten Hopp ad3aa5
Patch 7.3.254
Karsten Hopp ad3aa5
Problem:    The coladd field is not reset when setting the line number for a
Karsten Hopp ad3aa5
	    ":call" command.
Karsten Hopp ad3aa5
Solution:   Reset it.
Karsten Hopp ad3aa5
Files:	    src/eval.c
Karsten Hopp ad3aa5
Karsten Hopp ad3aa5
Karsten Hopp ad3aa5
*** ../vim-7.3.253/src/eval.c	2011-07-07 17:36:52.000000000 +0200
Karsten Hopp ad3aa5
--- src/eval.c	2011-07-07 17:51:42.000000000 +0200
Karsten Hopp ad3aa5
***************
Karsten Hopp ad3aa5
*** 3430,3435 ****
Karsten Hopp ad3aa5
--- 3430,3438 ----
Karsten Hopp ad3aa5
  	{
Karsten Hopp ad3aa5
  	    curwin->w_cursor.lnum = lnum;
Karsten Hopp ad3aa5
  	    curwin->w_cursor.col = 0;
Karsten Hopp ad3aa5
+ #ifdef FEAT_VIRTUALEDIT
Karsten Hopp ad3aa5
+ 	    curwin->w_cursor.coladd = 0;
Karsten Hopp ad3aa5
+ #endif
Karsten Hopp ad3aa5
  	}
Karsten Hopp ad3aa5
  	arg = startarg;
Karsten Hopp ad3aa5
  	if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,
Karsten Hopp ad3aa5
*** ../vim-7.3.253/src/version.c	2011-07-15 21:16:54.000000000 +0200
Karsten Hopp ad3aa5
--- src/version.c	2011-07-15 21:23:16.000000000 +0200
Karsten Hopp ad3aa5
***************
Karsten Hopp ad3aa5
*** 711,712 ****
Karsten Hopp ad3aa5
--- 711,714 ----
Karsten Hopp ad3aa5
  {   /* Add new patch number below this line */
Karsten Hopp ad3aa5
+ /**/
Karsten Hopp ad3aa5
+     254,
Karsten Hopp ad3aa5
  /**/
Karsten Hopp ad3aa5
Karsten Hopp ad3aa5
-- 
Karsten Hopp ad3aa5
Eight Megabytes And Continually Swapping.
Karsten Hopp ad3aa5
Karsten Hopp ad3aa5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ad3aa5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ad3aa5
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ad3aa5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///