Skip to content

Commit

Permalink
Merge branch 'simba2000' of https://github.com/Villavu/Simba into sim…
Browse files Browse the repository at this point in the history
…ba2000
  • Loading branch information
slackydev committed Jan 10, 2025
2 parents 9679607 + abf7cda commit e29bf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ide/simba.form_main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ procedure TSimbaMainForm.MenuGotoClick(Sender: TObject);
begin
Value := '';
if InputQuery('Goto line', 'Goto line:', Value) and Value.IsNumeric then
SimbaTabsForm.CurrentEditor.TopLine := Value.ToInteger - (SimbaTabsForm.CurrentEditor.LinesInWindow div 2);
SimbaTabsForm.CurrentEditor.TopLine := Value.ToInt - (SimbaTabsForm.CurrentEditor.LinesInWindow div 2);
end;
end;

Expand Down

0 comments on commit e29bf3d

Please sign in to comment.