Fix copy-paste error.
Fix copy-paste error identified by static analysis at http://www.viva64.com/en/b/0251/ Change-Id: I214d6bf8494a946a6c772b6dca1395e4140a471f Reviewed-by: Daniel Molkentin <daniel@molkentin.de> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
This commit is contained in:
parent
4a28205bed
commit
22bb244d6d
@ -1032,7 +1032,7 @@ QWindowsNativeImage *QWindowsFontEngine::drawGDIGlyph(HFONT font, glyph_t glyph,
|
||||
int iw = gm.width.toInt();
|
||||
int ih = gm.height.toInt();
|
||||
|
||||
if (iw <= 0 || iw <= 0)
|
||||
if (iw <= 0 || ih <= 0)
|
||||
return 0;
|
||||
|
||||
bool has_transformation = t.type() > QTransform::TxTranslate;
|
||||
|
Loading…
Reference in New Issue
Block a user