summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widgets/platforms/win/qfontengine_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/platforms/win/qfontengine_win.cpp b/src/widgets/platforms/win/qfontengine_win.cpp
index fc11387367..9d3afb57d9 100644
--- a/src/widgets/platforms/win/qfontengine_win.cpp
+++ b/src/widgets/platforms/win/qfontengine_win.cpp
@@ -1097,7 +1097,7 @@ QNativeImage *QFontEngineWin::drawGDIGlyph(HFONT font, glyph_t glyph, int margin
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;