UPD: Unrar - MsgChoiceBox function

(cherry picked from commit 5669554329)
This commit is contained in:
Alexander Koblov 2023-12-12 22:00:35 +03:00
commit b7dac1002b

View file

@ -343,7 +343,7 @@ begin
try
PasswordU:= Format(rsDictNotAllowed, [DictSize, P2, DictSize]) + LineEnding;
if gStartupInfo.MsgChoiceBox(PAnsiChar(PasswordU), PAnsiChar(rsDictLargeWarning), Buttons) = 0 then
if gStartupInfo.MsgChoiceBox(PAnsiChar(PasswordU), PAnsiChar(rsDictLargeWarning), Buttons, 0, 1) = 0 then
Result:= 1
else begin
Result:= -1;