changeset 15848:e57e9c5f699d

(WinMain): Put a space between the binary and its args.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Aug 1996 18:40:18 +0000
parents 2054791aefc6
children 4ff73e2c043e
files nt/runemacs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/nt/runemacs.c	Fri Aug 09 10:44:37 1996 +0000
+++ b/nt/runemacs.c	Fri Aug 09 18:40:18 1996 +0000
@@ -58,7 +58,7 @@
     WIN32_FIND_DATA wfd;
     HANDLE fh;
     p = new_cmdline + strlen (new_cmdline);
-    strcpy (p, "\\emacs*.exe");
+    strcpy (p, "\\emacs*.exe ");
     fh = FindFirstFile (new_cmdline, &wfd);
     if (fh == INVALID_HANDLE_VALUE)
       goto error;
@@ -79,7 +79,7 @@
     strcat (p, " ");
   }
 #else
-  strcat (new_cmdline, "\\emacs.exe");
+  strcat (new_cmdline, "\\emacs.exe ");
 #endif
 
   /* Append original arguments if any; first look for -wait as first