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