Sergey Guralnik : extrac32: Allow leading '-' for command line switches.

Alexandre Julliard julliard at winehq.org
Tue Apr 2 13:38:36 CDT 2013


Module: wine
Branch: master
Commit: 8c5deb56497494a66c8244bfdc40121d00103ec3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8c5deb56497494a66c8244bfdc40121d00103ec3

Author: Sergey Guralnik <serhio at etersoft.ru>
Date:   Sat Mar 30 07:12:47 2013 +0200

extrac32: Allow leading '-' for command line switches.

---

 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 11dd755..ade7456 100644
--- a/programs/extrac32/extrac32.c
+++ b/programs/extrac32/extrac32.c
@@ -105,7 +105,7 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
     for(i = 0; i < argc; i++)
     {
         /* Get cabfile */
-        if (argv[i][0] != '/')
+        if (argv[i][0] != '/' && argv[i][0] != '-')
         {
             if (!cabfile)
             {




More information about the wine-cvs mailing list