]> git.eshelyaron.com Git - emacs.git/commitdiff
(WinMain): Put a space between the binary and its args.
authorRichard M. Stallman <rms@gnu.org>
Fri, 9 Aug 1996 18:40:18 +0000 (18:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 9 Aug 1996 18:40:18 +0000 (18:40 +0000)
nt/runemacs.c

index fe10021e98f37531bf151d510baa4aee849e8ba5..88e14a30d8115aaae13ca4608ca3e37220972f53 100644 (file)
@@ -58,7 +58,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
     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 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
     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