summaryrefslogtreecommitdiff
path: root/nt/runemacs.c
diff options
context:
space:
mode:
Diffstat (limited to 'nt/runemacs.c')
-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)
{