mirror of
https://github.com/reactos/wine.git
synced 2025-02-07 12:48:02 +00:00
Fixed command line support.
This commit is contained in:
parent
93dab7ccc5
commit
ea6584d42c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user