summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJoaquim Rocha <jrocha@igalia.com>2010-11-15 12:46:40 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-11-15 12:46:40 (GMT)
commit759c0b5ecf84201f36d44b4e6c46da1886d85dee (patch)
treeaea359a16fae284e563accd1994fe971f38e0df6 /src/gui
parentb36e357b982ba01cbf905fb1d0340e87030b0a95 (diff)
downloadQt-759c0b5ecf84201f36d44b4e6c46da1886d85dee.zip
Qt-759c0b5ecf84201f36d44b4e6c46da1886d85dee.tar.gz
Qt-759c0b5ecf84201f36d44b4e6c46da1886d85dee.tar.bz2
Fix wrong error assumption when converting "0.0" to double
The function qstrtod calls strtod without first resetting the errno but verifying it nonetheless. This could lead to situations where the errno was already set to ERANGE and hence it would mistakenly assume the conversion could not be done right. Merge-request: 2507 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions