Skip to content

Commit

Permalink
Merge pull request TurboPack#44 from tlabuild/patch-1
Browse files Browse the repository at this point in the history
Update error in OvcCalc.pas procedure BackButton
  • Loading branch information
romankassebaum authored Mar 19, 2024
2 parents 1562586 + 1047a9f commit 029055a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/OvcCalc.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2616,6 +2616,7 @@ procedure TOvcCustomCalculator.PressButton(Button : TOvcCalculatorButton);
end;
FDisplayStr := Copy(FDisplayStr, 1, Length(FDisplayStr)-1);
LastOperand := StrToFloat(FDisplayStr);
DisplayValue := LastOperand;
cSetDisplayString(FDisplayStr);
end else begin
LastOperand := 0;
Expand Down

0 comments on commit 029055a

Please sign in to comment.