From abf7cdaddff4542efb03acc9cd13a39f27b53d1a Mon Sep 17 00:00:00 2001 From: "Jarl K. Holta" Date: Fri, 10 Jan 2025 02:24:18 +0100 Subject: [PATCH] Never pushed this file --- Source/ide/simba.form_main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ide/simba.form_main.pas b/Source/ide/simba.form_main.pas index fd51444aa..0d56d4e8e 100644 --- a/Source/ide/simba.form_main.pas +++ b/Source/ide/simba.form_main.pas @@ -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;