mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 19:00:34 +02:00
IDE: Fix case-sensitive default font name in Object Inspector in Win (issue #0031963)
git-svn-id: trunk@55221 -
This commit is contained in:
parent
d3f428a7d5
commit
31045c9646
@ -850,7 +850,7 @@ begin
|
||||
FontName := LogFont.lfFaceName;
|
||||
|
||||
TempLogFont := LogFont;
|
||||
if FontName = DefFontData.Name then
|
||||
if SameText(FontName, DefFontData.Name) then
|
||||
begin
|
||||
TempLogFontW.lfFaceName := UTF8ToUTF16(FMetrics.lfMessageFont.lfFaceName); // FMetrics must be UTF16
|
||||
if TempLogFont.lfHeight = 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user