diff options
author | Andrew Innes <andrewi@gnu.org> | 1999-01-26 12:56:01 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 1999-01-26 12:56:01 +0000 |
commit | 171321202579d7a7e1eaaf6bf377a390a50fb01a (patch) | |
tree | 00f5ba2a6c0c6aa4d3fef772b94d6d6a7cbfbbc9 /nt | |
parent | 6339134ef0bf0693002290c3d58e1d729e046f23 (diff) | |
download | emacs-171321202579d7a7e1eaaf6bf377a390a50fb01a.tar.gz |
(WinMain): Pass explicit environment block to
CreateProcess, to work around a bug in Windows 95/98.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/runemacs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nt/runemacs.c b/nt/runemacs.c index dc8d1bfe710..c1b28951748 100644 --- a/nt/runemacs.c +++ b/nt/runemacs.c @@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow) sec_attrs.bInheritHandle = FALSE; if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class, - NULL, NULL, &start, &child)) + GetEnvironmentStrings (), NULL, &start, &child)) { if (wait_for_child) { |