mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[FONT][WIN32SS] Refactor the loop (4 of 5)
This commit is contained in:
parent
7b04962aed
commit
b9b4c90303
1 changed files with 3 additions and 3 deletions
|
@ -2672,8 +2672,9 @@ ftGdiGlyphCacheGet(
|
|||
|
||||
ASSERT_FREETYPE_LOCK_HELD();
|
||||
|
||||
CurrentEntry = g_FontCacheListHead.Flink;
|
||||
while (CurrentEntry != &g_FontCacheListHead)
|
||||
for (CurrentEntry = g_FontCacheListHead.Flink;
|
||||
CurrentEntry != &g_FontCacheListHead;
|
||||
CurrentEntry = CurrentEntry->Flink)
|
||||
{
|
||||
FontEntry = CONTAINING_RECORD(CurrentEntry, FONT_CACHE_ENTRY, ListEntry);
|
||||
if ((FontEntry->Face == Face) &&
|
||||
|
@ -2682,7 +2683,6 @@ ftGdiGlyphCacheGet(
|
|||
(FontEntry->RenderMode == RenderMode) &&
|
||||
(SameScaleMatrix(&FontEntry->mxWorldToDevice, pmx)))
|
||||
break;
|
||||
CurrentEntry = CurrentEntry->Flink;
|
||||
}
|
||||
|
||||
if (CurrentEntry == &g_FontCacheListHead)
|
||||
|
|
Loading…
Reference in a new issue