mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0794: white space before " -Ntabmove" causes problems
Problem: White space before " -Ntabmove" causes problems. Solution: Skip whitespace. (Ozaki Kiichi, closes #3841)
This commit is contained in:
@@ -7588,7 +7588,7 @@ get_tabpage_arg(exarg_T *eap)
|
||||
else
|
||||
{
|
||||
tab_number = eap->line2;
|
||||
if (!unaccept_arg0 && **eap->cmdlinep == '-')
|
||||
if (!unaccept_arg0 && *skipwhite(*eap->cmdlinep) == '-')
|
||||
{
|
||||
--tab_number;
|
||||
if (tab_number < unaccept_arg0)
|
||||
|
Reference in New Issue
Block a user