summaryrefslogtreecommitdiff
path: root/plugins/autotest/testxmloutputreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/autotest/testxmloutputreader.cpp')
-rw-r--r--plugins/autotest/testxmloutputreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/autotest/testxmloutputreader.cpp b/plugins/autotest/testxmloutputreader.cpp
index 10b6ed02b9..193b716a26 100644
--- a/plugins/autotest/testxmloutputreader.cpp
+++ b/plugins/autotest/testxmloutputreader.cpp
@@ -69,8 +69,8 @@ static bool xmlExtractTypeFileLine(const QString &code, const QString &tagStart,
static QString formatResult(double value)
{
//NAN is not supported with visual studio 2010
-// if (value < 0 || value == NAN)
-// return QLatin1String("NAN");
+ if (value < 0)// || value == NAN)
+ return QLatin1String("NAN");
if (value == 0)
return QLatin1String("0");