summaryrefslogtreecommitdiff
path: root/nt/runemacs.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>1999-01-26 12:56:01 +0000
committerAndrew Innes <andrewi@gnu.org>1999-01-26 12:56:01 +0000
commit171321202579d7a7e1eaaf6bf377a390a50fb01a (patch)
tree00f5ba2a6c0c6aa4d3fef772b94d6d6a7cbfbbc9 /nt/runemacs.c
parent6339134ef0bf0693002290c3d58e1d729e046f23 (diff)
downloademacs-171321202579d7a7e1eaaf6bf377a390a50fb01a.tar.gz
(WinMain): Pass explicit environment block to
CreateProcess, to work around a bug in Windows 95/98.
Diffstat (limited to 'nt/runemacs.c')
-rw-r--r--nt/runemacs.c2
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)
{