mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-23 18:45:59 +02:00
LCL: Use CompareText function in IsFontNameDefault.
git-svn-id: trunk@55224 -
This commit is contained in:
parent
6e54b75e26
commit
be678e2bf1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user