1
0
forked from aniani/vim

updated for version 7.4.239

Problem:    ":e +" does not position cursor at end of the file.
Solution:   Check for "+" being the last character (ZyX)
This commit is contained in:
Bram Moolenaar
2014-04-02 14:22:05 +02:00
parent 5bd32f47ec
commit 3e45159ceb
2 changed files with 3 additions and 1 deletions

View File

@@ -4841,7 +4841,7 @@ getargcmd(argp)
if (*arg == '+') /* +[command] */ if (*arg == '+') /* +[command] */
{ {
++arg; ++arg;
if (vim_isspace(*arg)) if (vim_isspace(*arg) || *arg == NUL)
command = dollar_command; command = dollar_command;
else else
{ {

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
239,
/**/ /**/
238, 238,
/**/ /**/