mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 22:49:12 +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();
|
ASSERT_FREETYPE_LOCK_HELD();
|
||||||
|
|
||||||
CurrentEntry = g_FontCacheListHead.Flink;
|
for (CurrentEntry = g_FontCacheListHead.Flink;
|
||||||
while (CurrentEntry != &g_FontCacheListHead)
|
CurrentEntry != &g_FontCacheListHead;
|
||||||
|
CurrentEntry = CurrentEntry->Flink)
|
||||||
{
|
{
|
||||||
FontEntry = CONTAINING_RECORD(CurrentEntry, FONT_CACHE_ENTRY, ListEntry);
|
FontEntry = CONTAINING_RECORD(CurrentEntry, FONT_CACHE_ENTRY, ListEntry);
|
||||||
if ((FontEntry->Face == Face) &&
|
if ((FontEntry->Face == Face) &&
|
||||||
|
@ -2682,7 +2683,6 @@ ftGdiGlyphCacheGet(
|
||||||
(FontEntry->RenderMode == RenderMode) &&
|
(FontEntry->RenderMode == RenderMode) &&
|
||||||
(SameScaleMatrix(&FontEntry->mxWorldToDevice, pmx)))
|
(SameScaleMatrix(&FontEntry->mxWorldToDevice, pmx)))
|
||||||
break;
|
break;
|
||||||
CurrentEntry = CurrentEntry->Flink;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CurrentEntry == &g_FontCacheListHead)
|
if (CurrentEntry == &g_FontCacheListHead)
|
||||||
|
|
Loading…
Reference in a new issue