summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2004-04-10 21:05:50 +0000
committerJason Rumney <jasonr@gnu.org>2004-04-10 21:05:50 +0000
commite647ffe80e270d75956ca21f36dd1daa35dded31 (patch)
tree58ad58953f0cce754ecd469a587e3800786af5e1 /nt
parente475064ae272093d3379e0b1193254aaf06eeb69 (diff)
downloademacs-e647ffe80e270d75956ca21f36dd1daa35dded31.tar.gz
(WinMain): Let emacs environment default to parent.
Diffstat (limited to 'nt')
-rw-r--r--nt/runemacs.c2
1 files changed, 1 insertions, 1 deletions
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)
{