mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-30 11:04:07 +00:00
explorer: Allow explorer with no arguments to run winefile.
This commit is contained in:
parent
95282bdeaa
commit
b11156b84a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue