Commit cff4a12b authored by Andriy Palamarchuk's avatar Andriy Palamarchuk Committed by Alexandre Julliard

Fixed a problem when regedit interpreted file names, starting from '/'

as switches.
parent bcc6256b
......@@ -138,9 +138,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
break;
}
} else {
printf("%s: Incorrect switch format, switch '%c'\n%s",
getAppName(), chu, usage);
exit(1);
/* this is a file name, starting from '/' */
s--;
break;
}
}
......
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