summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-09 18:40:18 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-09 18:40:18 +0000
commitfb750854955aed5197db42ef7ffeb141d976b057 (patch)
treee1cd169e4c002141c7b9756560570e57dbe0f7e0 /nt
parentca80fe23238681eab5efbb497ddd566026da6b57 (diff)
downloademacs-fb750854955aed5197db42ef7ffeb141d976b057.tar.gz
(WinMain): Put a space between the binary and its args.
Diffstat (limited to 'nt')
-rw-r--r--nt/runemacs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nt/runemacs.c b/nt/runemacs.c
index fe10021e98f..88e14a30d81 100644
--- a/nt/runemacs.c
+++ b/nt/runemacs.c
@@ -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