mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 12:29:24 +02:00
IDE: fixed uninitialized result
git-svn-id: trunk@22109 -
This commit is contained in:
parent
08dcae4a3e
commit
69cb699ca6
@ -6742,6 +6742,7 @@ function TSourceNotebook.EditorGetIndent(Sender: TSynCustomBeautifier; Editor: T
|
|||||||
LogCaret: TPoint; var FirstLinePos, LinesCount: Integer; Reason: TSynEditorCommand;
|
LogCaret: TPoint; var FirstLinePos, LinesCount: Integer; Reason: TSynEditorCommand;
|
||||||
SetIndentProc: TSynBeautifierSetIndentProc): Boolean;
|
SetIndentProc: TSynBeautifierSetIndentProc): Boolean;
|
||||||
begin
|
begin
|
||||||
|
Result:=false;
|
||||||
if Assigned(OnGetIndent) then
|
if Assigned(OnGetIndent) then
|
||||||
Result := OnGetIndent(Sender, GetActiveSE, LogCaret, FirstLinePos, LinesCount,
|
Result := OnGetIndent(Sender, GetActiveSE, LogCaret, FirstLinePos, LinesCount,
|
||||||
Reason, SetIndentProc);
|
Reason, SetIndentProc);
|
||||||
|
Loading…
Reference in New Issue
Block a user