Commit e7a13628 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdi32: Fix a typo in faces_equal() preventing loading all sizes of a bitmap font.

parent f2d40ca8
......@@ -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) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment