mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 20:28:49 +02:00
* Fix font name changing issues, patch by Dirk F, mantis #26550
git-svn-id: trunk@28331 -
This commit is contained in:
parent
3164bf66f5
commit
ff77bd1bf2
@ -416,8 +416,8 @@ begin
|
||||
result := FList.count-1;
|
||||
while (result >= 0) and
|
||||
( ({$ifdef CaseSense}CompareText{$else}CompareStr{$endif}
|
||||
(TMgrFont(FList[anIndex]).Filename, afilename) <> 0) or
|
||||
(anIndex <> TMgrFont(FList[anIndex]).font^.face_index)
|
||||
(TMgrFont(FList[Result]).Filename, afilename) <> 0) or
|
||||
(anIndex <> TMgrFont(FList[Result]).font^.face_index)
|
||||
) do
|
||||
dec (result);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user