From: Jason Rumney Date: Sat, 10 Apr 2004 21:06:31 +0000 (+0000) Subject: (WinMain): Let emacs environment default to parent. X-Git-Tag: ttn-vms-21-2-B4~6919 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e3c9713ef60eac45a3b8aa3eb0b3c37a106e16a;p=emacs.git (WinMain): Let emacs environment default to parent. --- 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) {