regsvr32: Do not attempt to register '/' or '-'.
This commit is contained in:
parent
76162a4ea8
commit
80c3fca056
|
@ -241,8 +241,14 @@ int wmain(int argc, WCHAR* argv[])
|
|||
*/
|
||||
for(i = 1; i < argc; i++)
|
||||
{
|
||||
if ((argv[i][0] == '/' || argv[i][0] == '-') && (!argv[i][2] || argv[i][2] == ':'))
|
||||
if (argv[i][0] == '/' || argv[i][0] == '-')
|
||||
{
|
||||
if (!argv[i][1])
|
||||
return INVALID_ARG;
|
||||
|
||||
if (argv[i][2] && argv[i][2] != ':')
|
||||
continue;
|
||||
|
||||
switch (tolowerW(argv[i][1]))
|
||||
{
|
||||
case 'u':
|
||||
|
|
Loading…
Reference in New Issue