aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-09 18:40:18 +0000
committerRichard M. Stallman1996-08-09 18:40:18 +0000
commit77727cfd5d9d3665ffc86d643bb9fe0d3cea467d (patch)
tree2a4e393336c24a299674d6d4422a7430552914bb /nt
parent6411ab239c66823f0fa70f8901009319624b9523 (diff)
downloademacs-77727cfd5d9d3665ffc86d643bb9fe0d3cea467d.tar.gz
emacs-77727cfd5d9d3665ffc86d643bb9fe0d3cea467d.zip
(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)
58 WIN32_FIND_DATA wfd; 58 WIN32_FIND_DATA wfd;
59 HANDLE fh; 59 HANDLE fh;
60 p = new_cmdline + strlen (new_cmdline); 60 p = new_cmdline + strlen (new_cmdline);
61 strcpy (p, "\\emacs*.exe"); 61 strcpy (p, "\\emacs*.exe ");
62 fh = FindFirstFile (new_cmdline, &wfd); 62 fh = FindFirstFile (new_cmdline, &wfd);
63 if (fh == INVALID_HANDLE_VALUE) 63 if (fh == INVALID_HANDLE_VALUE)
64 goto error; 64 goto error;
@@ -79,7 +79,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
79 strcat (p, " "); 79 strcat (p, " ");
80 } 80 }
81#else 81#else
82 strcat (new_cmdline, "\\emacs.exe"); 82 strcat (new_cmdline, "\\emacs.exe ");
83#endif 83#endif
84 84
85 /* Append original arguments if any; first look for -wait as first 85 /* Append original arguments if any; first look for -wait as first