Fixed command line support.

This commit is contained in:
Vincent Béron 2003-08-15 03:47:04 +00:00 committed by Alexandre Julliard
parent 93dab7ccc5
commit ea6584d42c

View file

@ -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;
}