extrac32: Allow leading '-' for command line switches.
This commit is contained in:
parent
a5ac00aaf4
commit
8c5deb5649
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue