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:
Richard J. Moore 2014-04-18 11:18:14 +01:00 committed by The Qt Project
parent 4a28205bed
commit 22bb244d6d

View File

@ -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;