Commit ea6584d4 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Fixed command line support.

parent 93dab7cc
......@@ -153,11 +153,14 @@ BOOL ProcessCmdLine(LPSTR lpCmdLine)
}
}
if (*s && action == ACTION_UNDEF)
action = ACTION_ADD;
if (action == ACTION_UNDEF)
return FALSE;
return PerformRegAction(action, s);
}
}
BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s)
{
......@@ -235,5 +238,5 @@ BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s)
exit(1);
break;
}
return 0;
return TRUE;
}
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