devel/vim 7.1.132,NONE,1.1

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Thu Oct 4 12:27:09 UTC 2007


Author: karsten

Update of /cvs/extras/devel/vim
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30590

Added Files:
	7.1.132 
Log Message:
- patchlevel 132


--- NEW FILE 7.1.132 ---
To: vim-dev at vim.org
Subject: patch 7.1.132
Fcc: outbox
From: Bram Moolenaar <Bram at moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.1.132
Problem:    getpos("'>") may return a negative column number for a Linewise
	    selection. (A.Politz)
Solution:   Don't add one to MAXCOL.
Files:	    src/eval.c


*** ../vim-7.1.131/src/eval.c	Tue Sep 25 20:39:14 2007
--- src/eval.c	Mon Oct  1 20:56:09 2007
***************
*** 10388,10394 ****
  	    list_append_number(l, (varnumber_T)0);
  	list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
  							    : (varnumber_T)0);
! 	list_append_number(l, (fp != NULL) ? (varnumber_T)fp->col + 1
  							    : (varnumber_T)0);
  	list_append_number(l,
  #ifdef FEAT_VIRTUALEDIT
--- 10388,10395 ----
  	    list_append_number(l, (varnumber_T)0);
  	list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
  							    : (varnumber_T)0);
! 	list_append_number(l, (fp != NULL)
! 		     ? (varnumber_T)(fp->col == MAXCOL ? MAXCOL : fp->col + 1)
  							    : (varnumber_T)0);
  	list_append_number(l,
  #ifdef FEAT_VIRTUALEDIT
*** ../vim-7.1.131/src/version.c	Tue Oct  2 20:40:01 2007
--- src/version.c	Tue Oct  2 22:07:17 2007
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     132,
  /**/

-- 
"The future's already arrived - it's just not evenly distributed yet."
		-- William Gibson

 /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///




More information about the fedora-extras-commits mailing list