Commit 8c5deb56 authored by Sergey Guralnik's avatar Sergey Guralnik Committed by Alexandre Julliard

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

parent a5ac00aa
......@@ -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)
{
......
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