IDE: fixed uninitialized result

git-svn-id: trunk@22109 -
This commit is contained in:
mattias 2009-10-12 11:38:35 +00:00
parent 08dcae4a3e
commit 69cb699ca6

View File

@ -6742,6 +6742,7 @@ function TSourceNotebook.EditorGetIndent(Sender: TSynCustomBeautifier; Editor: T
LogCaret: TPoint; var FirstLinePos, LinesCount: Integer; Reason: TSynEditorCommand;
SetIndentProc: TSynBeautifierSetIndentProc): Boolean;
begin
Result:=false;
if Assigned(OnGetIndent) then
Result := OnGetIndent(Sender, GetActiveSE, LogCaret, FirstLinePos, LinesCount,
Reason, SetIndentProc);