changeset 5790:98bfec9ea760 v7.4.239

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)
author Bram Moolenaar <bram@vim.org>
date Wed, 02 Apr 2014 14:22:05 +0200
parents 29dd99f4945d
children ca5cbdcf9b7e
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -4841,7 +4841,7 @@ getargcmd(argp)
     if (*arg == '+')	    /* +[command] */
     {
 	++arg;
-	if (vim_isspace(*arg))
+	if (vim_isspace(*arg) || *arg == NUL)
 	    command = dollar_command;
 	else
 	{
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    239,
+/**/
     238,
 /**/
     237,