rpms/vim/devel 7.0.218,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 30 11:14:42 UTC 2007


Author: karsten

Update of /cvs/dist/rpms/vim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26422

Added Files:
	7.0.218 
Log Message:
patchlevel 218


--- NEW FILE 7.0.218 ---
To: vim-dev at vim.org
Subject: patch 7.0.218
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.0.218
Problem:    "%B" in 'statusline' always shows zero in Insert mode. (DervishD)
Solution:   Remove the exception for Insert mode, check the column for being
	    valid instead.
Files:	    src/buffer.c


*** ../vim-7.0.217/src/buffer.c	Tue Mar  6 20:27:03 2007
--- src/buffer.c	Thu Mar 15 22:50:54 2007
***************
*** 3710,3716 ****
  	case STL_BYTEVAL_X:
  	    base = 'X';
  	case STL_BYTEVAL:
! 	    if (((State & INSERT) && wp == curwin) || empty_line)
  		num = 0;
  	    else
  	    {
--- 3710,3716 ----
  	case STL_BYTEVAL_X:
  	    base = 'X';
  	case STL_BYTEVAL:
! 	    if (wp->w_cursor.col > STRLEN(linecont))
  		num = 0;
  	    else
  	    {
*** ../vim-7.0.217/src/version.c	Thu Mar 15 21:38:30 2007
--- src/version.c	Thu Mar 15 22:54:05 2007
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     218,
  /**/

-- 
Vim is like Emacs without all the typing.  (John "Johann" Spetz)

 /// 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-cvs-commits mailing list