summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-08-26 12:59:51 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-08-26 13:02:36 (GMT)
commiteb39ecce531f67b4f8b791f76796ab9010c9e745 (patch)
treed015a90570482b3ecd5103b28b79b00ac02c883a /doc
parentb69a8a9f6a88f6da971fd18641cfac26cc1035f5 (diff)
downloadQt-eb39ecce531f67b4f8b791f76796ab9010c9e745.zip
Qt-eb39ecce531f67b4f8b791f76796ab9010c9e745.tar.gz
Qt-eb39ecce531f67b4f8b791f76796ab9010c9e745.tar.bz2
Avoid undefined text metrics when GetTextMetrics() in QFontEngineWin
If GetTextMetrics() should fail, the results are undefined. When the undefined data are used, e.g. when painting text, this can cause a crash. To avoid the crash and make it clear that the metrics cannot be retrieved, we zero out the entire structure. Task-number: 251172 Reviewed-by: gunnar
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions