Skip to content

Commit e886f8d

Browse files
committed
font default color in lazarus is clDefault
1 parent fcfbe56 commit e886f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vcl.DamUnit.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ function TDam.GetFontStored: Boolean;
541541
(FFont.Style = [])
542542
{$ELSE}
543543
(FFont.Charset = 1) and
544-
(FFont.Color = clWindowText) and
544+
(FFont.Color = {$IFDEF FPC}clDefault{$ELSE}clWindowText{$ENDIF}) and
545545
(FFont.Name = DEF_FONT_NAME) and
546546
(FFont.Orientation = 0) and
547547
(FFont.Pitch = fpDefault) and

0 commit comments

Comments
 (0)