gdi32: Fix a typo in faces_equal() preventing loading all sizes of a bitmap font.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Apr 9 04:24:53 CDT 2012
---
dlls/gdi32/freetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index cf9f0d6..40f82c2 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1193,7 +1193,7 @@ static inline BOOL faces_equal( const Face *f1, const Face *f2 )
{
if (strcmpiW( f1->StyleName, f2->StyleName )) return FALSE;
if (f1->scalable) return TRUE;
- if (f2->size.y_ppem != f2->size.y_ppem) return FALSE;
+ if (f1->size.y_ppem != f2->size.y_ppem) return FALSE;
return !memcmp( &f1->fs, &f2->fs, sizeof(f1->fs) );
}
--
1.7.9.4
More information about the wine-patches
mailing list