1
0
forked from aniani/vim

updated for version 7.4.568

Problem:    Giving an error for ":0wincmd w" is a problem for some plugins.
Solution:   Allow the zero in the range. (Marcin Szamotulski)
This commit is contained in:
Bram Moolenaar
2015-01-14 11:25:05 +01:00
parent e271909625
commit 8be6388b76
3 changed files with 5 additions and 4 deletions

View File

@@ -4686,8 +4686,7 @@ invalid_range(eap)
return (char_u *)_(e_invrange);
break;
case ADDR_WINDOWS:
if (eap->line1 < 1
|| eap->line2 > LAST_WIN_NR)
if (eap->line2 > LAST_WIN_NR)
return (char_u *)_(e_invrange);
break;
case ADDR_TABS: