summaryrefslogtreecommitdiffstats
path: root/src/widgets/platforms
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-10-05 12:08:04 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-11 16:00:17 +0200
commit7a4eec5dbbec01c889fc41ca47c12cd127937316 (patch)
treead2bb295b6bd9321533045c0003d0a85001d195d /src/widgets/platforms
parente6e39a2e584f88c381c54fba7d3347c399d85f2f (diff)
Fix typo in qfontengine_win
Task-number: QTBUG-20482 Change-Id: I3fd072af019a0e531d60a1751a6a32ea5962aac1 Reviewed-on: http://codereview.qt-project.org/6049 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/widgets/platforms')
-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;