]> code.delx.au - gnu-emacs/blobdiff - nt/runemacs.c
(WinMain): Let emacs environment default to parent.
[gnu-emacs] / nt / runemacs.c
index cdd46a6008d76de9e1b06e33ac263526429317aa..afa5340ef53803087fd801491ee3642d70be543f 100644 (file)
@@ -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)
        {