Skip to content

Commit

Permalink
font default color in lazarus is clDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
digao-dalpiaz committed Jan 12, 2024
1 parent fcfbe56 commit e886f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vcl.DamUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ function TDam.GetFontStored: Boolean;
(FFont.Style = [])
{$ELSE}
(FFont.Charset = 1) and
(FFont.Color = clWindowText) and
(FFont.Color = {$IFDEF FPC}clDefault{$ELSE}clWindowText{$ENDIF}) and
(FFont.Name = DEF_FONT_NAME) and
(FFont.Orientation = 0) and
(FFont.Pitch = fpDefault) and
Expand Down

0 comments on commit e886f8d

Please sign in to comment.