You've already forked lazarus-ccr
richmemo: initialize font params structure SetTextAttributes method with TFont
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -444,6 +444,7 @@ procedure TCustomRichMemo.SetTextAttributes(TextStart, TextLen: Integer;
|
||||
var
|
||||
params : TFontParams;
|
||||
begin
|
||||
InitFontParams(params);
|
||||
params.Name := AFont.Name;
|
||||
params.Color := AFont.Color;
|
||||
params.Size := AFont.Size;
|
||||
|
Reference in New Issue
Block a user