explorer: Allow explorer with no arguments to run winefile.

This commit is contained in:
Lei Zhang 2008-05-16 11:44:49 -07:00 committed by Alexandre Julliard
parent 95282bdeaa
commit b11156b84a

View file

@ -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);