073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.580
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.580
073263
Problem:    ":52wincmd v" still gives an invalid range error. (Charles
073263
	    Campbell)
073263
Solution:   Skip over white space.
073263
Files:	    src/ex_docmd.c
073263
073263
073263
*** ../vim-7.4.579/src/ex_docmd.c	2015-01-14 15:47:33.076036876 +0100
073263
--- src/ex_docmd.c	2015-01-14 21:17:20.831813232 +0100
073263
***************
073263
*** 2140,2147 ****
073263
  
073263
  #ifdef FEAT_WINDOWS
073263
  	/* :wincmd range depends on the argument. */
073263
! 	if (ea.cmdidx == CMD_wincmd)
073263
! 	    get_wincmd_addr_type(p, &ea);
073263
  #endif
073263
      }
073263
  
073263
--- 2140,2147 ----
073263
  
073263
  #ifdef FEAT_WINDOWS
073263
  	/* :wincmd range depends on the argument. */
073263
! 	if (ea.cmdidx == CMD_wincmd && p != NULL)
073263
! 	    get_wincmd_addr_type(skipwhite(p), &ea);
073263
  #endif
073263
      }
073263
  
073263
*** ../vim-7.4.579/src/version.c	2015-01-14 19:35:10.967756099 +0100
073263
--- src/version.c	2015-01-14 21:19:22.418461266 +0100
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     580,
073263
  /**/
073263
073263
-- 
073263
How many light bulbs does it take to change a person?
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///