Module: wine Branch: master Commit: b11156b84a60eb55c1bff13ac192f718baaa2440 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b11156b84a60eb55c1bff13ac1...
Author: Lei Zhang thestig@google.com Date: Fri May 16 11:44:49 2008 -0700
explorer: Allow explorer with no arguments to run winefile.
---
programs/explorer/explorer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c index 9a21ac6..c8c3ea0 100644 --- a/programs/explorer/explorer.c +++ b/programs/explorer/explorer.c @@ -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);