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

This commit is contained in:
Sergey Guralnik 2013-03-30 07:12:47 +02:00 committed by Alexandre Julliard
parent a5ac00aaf4
commit 8c5deb5649

View file

@ -105,7 +105,7 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
for(i = 0; i < argc; i++) for(i = 0; i < argc; i++)
{ {
/* Get cabfile */ /* Get cabfile */
if (argv[i][0] != '/') if (argv[i][0] != '/' && argv[i][0] != '-')
{ {
if (!cabfile) if (!cabfile)
{ {