summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorA-Team <ateam@pad.test.qt.nokia.com>2010-11-24 23:00:17 (GMT)
committerA-Team <ateam@pad.test.qt.nokia.com>2010-11-24 23:00:17 (GMT)
commitc2e21fea3cd670127a898ac2ff5abd8135bde5f0 (patch)
treebf49e35e7dffe54301aab6cae5874977bc696496 /src/corelib/tools
parentbe28cdcc51a8c22151199bcf8cd171e28287e8d0 (diff)
parent422282c4f3e439990abc6c6b79699d943b9541d7 (diff)
downloadQt-c2e21fea3cd670127a898ac2ff5abd8135bde5f0.zip
Qt-c2e21fea3cd670127a898ac2ff5abd8135bde5f0.tar.gz
Qt-c2e21fea3cd670127a898ac2ff5abd8135bde5f0.tar.bz2
Merge branch '4.7-upstream' into 4.7-doc
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qlocale.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp
index be1dc08..b817eb2 100644
--- a/src/corelib/tools/qlocale.cpp
+++ b/src/corelib/tools/qlocale.cpp
@@ -7306,6 +7306,7 @@ Q_CORE_EXPORT char *qdtoa( double d, int mode, int ndigits, int *decpt, int *sig
Q_CORE_EXPORT double qstrtod(const char *s00, const char **se, bool *ok)
{
+ errno = 0;
double ret = strtod((char*)s00, (char**)se);
if (ok) {
if((ret == 0.0l && errno == ERANGE)