From 2a68770d1e8ae842c3b80bb58e675d064e40f270 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 10 Apr 2004 21:08:34 +0000 Subject: [PATCH] (WinMain): Let emacs environment default to parent. --- nt/runemacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nt/runemacs.c b/nt/runemacs.c index 2f114aea659..dae4dcc256e 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, - GetEnvironmentStrings (), NULL, &start, &child)) + NULL, NULL, &start, &child)) { if (wait_for_child) { -- 2.39.5