Commit da46ce10 authored by Sergey Guralnik's avatar Sergey Guralnik Committed by Alexandre Julliard

extrac32: Get default path only when it is really necessary.

parent 085c5068
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment