1
0
forked from aniani/vim

updated for version 7.4.580

Problem:    ":52wincmd v" still gives an invalid range error. (Charles
            Campbell)
Solution:   Skip over white space.
This commit is contained in:
Bram Moolenaar
2015-01-14 21:22:01 +01:00
parent 83caecf314
commit 164f3269b1
2 changed files with 4 additions and 2 deletions

View File

@@ -2140,8 +2140,8 @@ do_one_cmd(cmdlinep, sourcing,
#ifdef FEAT_WINDOWS
/* :wincmd range depends on the argument. */
if (ea.cmdidx == CMD_wincmd)
get_wincmd_addr_type(p, &ea);
if (ea.cmdidx == CMD_wincmd && p != NULL)
get_wincmd_addr_type(skipwhite(p), &ea);
#endif
}