diff src/ex_docmd.c @ 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 22a1d5762ba3
children 75f222d67cea
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
 	{