Lei Zhang : explorer: Allow explorer with no arguments to run winefile.
Alexandre Julliard
julliard at winehq.org
Mon May 19 09:39:42 CDT 2008
Module: wine
Branch: master
Commit: b11156b84a60eb55c1bff13ac192f718baaa2440
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b11156b84a60eb55c1bff13ac192f718baaa2440
Author: Lei Zhang <thestig at 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);
More information about the wine-cvs
mailing list