Sergey Guralnik : extrac32: Get default path only when it is really necessary.
Alexandre Julliard
julliard at winehq.org
Tue Apr 2 13:38:36 CDT 2013
Module: wine
Branch: master
Commit: da46ce10deeb8a327ad445ed86086dec33d16eae
URL: http://source.winehq.org/git/wine.git/?a=commit;h=da46ce10deeb8a327ad445ed86086dec33d16eae
Author: Sergey Guralnik <serhio at etersoft.ru>
Date: Sat Mar 30 07:27:44 2013 +0200
extrac32: Get default path only when it is really necessary.
---
programs/extrac32/extrac32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/extrac32/extrac32.c b/programs/extrac32/extrac32.c
index 5216627..addd732 100644
--- a/programs/extrac32/extrac32.c
+++ b/programs/extrac32/extrac32.c
@@ -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);
More information about the wine-cvs
mailing list