Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Jul 23, 2024
1 parent 5b84fb1 commit 1611b3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion utils/config.simba
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ begin
Result := Self.JSON.getString(key);
end;

function TConfigJSON.GetInt(key: String): Int32;
function TConfigJSON.GetInt(key: String): Integer;
begin
if Self.JSON = nil then
Exit;
Expand Down
4 changes: 2 additions & 2 deletions utils/forms/scriptform.simba
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ begin
SetLeft(space);
SetTop(y);
SetWidth(w);
SetText(ToStr(WLSettings.GetString('max_actions')));
SetText(ToStr(WLSettings.GetInt('max_actions')));
Edit.setOnKeyPress(@Edit.NumberField);
Edit.setOnEditingDone(@Self._ActionLimitOnDone);
end;
Expand All @@ -1703,7 +1703,7 @@ begin
SetLeft(fullWidth + space);
SetTop(y);
SetWidth(w);
SetText(ToStr(WLSettings.GetString('max_time')));
SetText(ToStr(WLSettings.GetInt('max_time')));
Edit.setOnKeyPress(@Edit.NumberField);
Edit.setOnEditingDone(@Self._TimeLimitOnDone);
end;
Expand Down

0 comments on commit 1611b3f

Please sign in to comment.