Blame SOURCES/7.4.580

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