LCL: Use CompareText function in IsFontNameDefault.

git-svn-id: trunk@55224 -
This commit is contained in:
juha 2017-06-04 21:52:34 +00:00
parent 6e54b75e26
commit be678e2bf1

View File

@ -3013,9 +3013,9 @@ begin
+IntToStr(1+StrToIntDef(copy(Identifier,p+1,length(Identifier)-p),0));
end;
function IsFontNameDefault(const AName: string): boolean; inline;
function IsFontNameDefault(const AName: string): boolean;
begin
Result := LowerCase(AName) = 'default';
Result := CompareText(AName, 'default') = 0;
end;
procedure FreeLineInfoCache;