Skip to content
Snippets Groups Projects
Commit ea6584d4 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard
Browse files

Fixed command line support.

parent 93dab7cc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment