diff --git a/reactos/subsystems/win32/win32k/objects/text.c b/reactos/subsystems/win32/win32k/objects/text.c index f3452874985..3d7857bf84a 100644 --- a/reactos/subsystems/win32/win32k/objects/text.c +++ b/reactos/subsystems/win32/win32k/objects/text.c @@ -1478,11 +1478,13 @@ NtGdiGlyphCacheGet( if (CurrentEntry == &FontCacheListHead) { // DbgPrint("Miss! %x\n", FontEntry->Glyph); +/* Misses++; if (Misses>100) { DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses); Hits = Misses = 0; } +*/ return NULL; } @@ -1490,11 +1492,14 @@ NtGdiGlyphCacheGet( InsertHeadList(&FontCacheListHead, CurrentEntry); // DbgPrint("Hit! %x\n", FontEntry->Glyph); +/* Hits++; + if (Hits>100) { DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses); Hits = Misses = 0; } +*/ return FontEntry->Glyph; }