Commit b11156b8 authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

explorer: Allow explorer with no arguments to run winefile.

parent 95282bde
......@@ -184,7 +184,7 @@ int WINAPI wWinMain(HINSTANCE hinstance,
}
rc = CreateProcessW(NULL, winefile_commandline, NULL, NULL, FALSE, 0, NULL,
parameters.root, &si, &info);
parameters.root[0] ? parameters.root:NULL, &si, &info);
HeapFree(GetProcessHeap(),0,winefile_commandline);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment