You've already forked lazarus-ccr
richmemo: fix style check for boldness of the default font
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4025 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1345,7 +1345,7 @@ begin
|
||||
|
||||
// rely on LogFont structure to be initialiazed (as it seems to be)
|
||||
if gtkobj^.LogFont.lfItalic > 0 then Include(params.Style, fsItalic);
|
||||
if gtkobj^.LogFont.lfWidth >= FW_BOLD then Include(params.Style, fsBold);
|
||||
if gtkobj^.LogFont.lfWeight >= FW_BOLD then Include(params.Style, fsBold);
|
||||
if gtkobj^.LogFont.lfUnderline > 0 then Include(params.Style, fsUnderline);
|
||||
if gtkobj^.LogFont.lfStrikeOut > 0 then Include(params.Style, fsStrikeOut);
|
||||
end;
|
||||
|
Reference in New Issue
Block a user