[GDI32]
[reactos.git] / reactos / win32ss / gdi / gdi32 / objects / font.c
index 9bd2d62..01a5dab 100644 (file)
@@ -278,6 +278,9 @@ IntEnumFontFamilies(HDC Dc, LPLOGFONTW LogFont, PVOID EnumProc, LPARAM lParam,
                       (VOID*)&NewTextMetricExA,
                       Info[i].FontType, lParam);
         }
+
+        if(Ret == 0)
+            break;
     }
 
     RtlFreeHeap(GetProcessHeap(), 0, Info);