From 9a01fd044c3bf87022272a7d3d5f5815fdb72b4f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 16 May 2008 11:44:49 -0700 Subject: [PATCH] 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); -- 1.5.3.6