[Lazarus] fix for issue 32894

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jan 2 12:38:48 CET 2018


On Sun, 31 Dec 2017 17:38:21 +0300
AlexeyT via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> +    // Duplicate logic in CreateFontIndirect
> +    if not Win32WidgetSet.MetricsFailed and SameText(Font.Name, 
> DefFontData.Name) then
> 
> Issue 32894
> please, change "and SameText(..)" to
> 
> and IsFontNameDefault(Font.Name)
> (func in LCLProc made by me)

Applied.

Mattias


More information about the Lazarus mailing list