From 171321202579d7a7e1eaaf6bf377a390a50fb01a Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 26 Jan 1999 12:56:01 +0000 Subject: [PATCH] (WinMain): Pass explicit environment block to CreateProcess, to work around a bug in Windows 95/98. --- nt/runemacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2