From 1e3c9713ef60eac45a3b8aa3eb0b3c37a106e16a Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 10 Apr 2004 21:06:31 +0000 Subject: [PATCH] (WinMain): Let emacs environment default to parent. --- nt/ChangeLog | 4 ++++ nt/runemacs.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nt/ChangeLog b/nt/ChangeLog index 829bc868a99..0ad5e7b458f 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2004-04-10 Benjamin Riefenstahl + + * runemacs.c (WinMain): Let emacs environment default to parent. + 2004-03-11 Jason Rumney * paths.h: Remove PATH_LOCK, add PATH_BITMAPS. diff --git a/nt/runemacs.c b/nt/runemacs.c index cdd46a6008d..afa5340ef53 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