]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.239 v7.4.239
authorBram Moolenaar <Bram@vim.org>
Wed, 2 Apr 2014 12:22:05 +0000 (14:22 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 2 Apr 2014 12:22:05 +0000 (14:22 +0200)
Problem:    ":e +" does not position cursor at end of the file.
Solution:   Check for "+" being the last character (ZyX)

src/ex_docmd.c
src/version.c

index b616740751ef6849a095e5f16b93337ddaed1a02..001ccd7eab9bf4fe728e8011939e78ff5edaf79e 100644 (file)
@@ -4841,7 +4841,7 @@ getargcmd(argp)
     if (*arg == '+')       /* +[command] */
     {
        ++arg;
-       if (vim_isspace(*arg))
+       if (vim_isspace(*arg) || *arg == NUL)
            command = dollar_command;
        else
        {
index eb8de1cc374fb97a4b2a93dc785149ad7a5e285e..b00297207ac6c8e84e95c186548110397d7cbc80 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    239,
 /**/
     238,
 /**/