extrac32: Get default path only when it is really necessary.
This commit is contained in:
parent
085c506832
commit
da46ce10de
|
@ -153,7 +153,7 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
|
|||
/* Use extraction by default if names of required files presents */
|
||||
cmd = i < argc ? 'E' : 'D';
|
||||
|
||||
if (!path[0])
|
||||
if (cmd == 'E' && !path[0])
|
||||
GetCurrentDirectoryW(MAX_PATH, path);
|
||||
|
||||
lstrcatW(path, backslash);
|
||||
|
|
Loading…
Reference in New Issue