diff -r ef0373b55136 -r 758a864f9613 src/corelib/io/qtextstream.cpp --- a/src/corelib/io/qtextstream.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/src/corelib/io/qtextstream.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -1991,7 +1991,7 @@ return true; buf[i] = '\0'; - // backward-compatibility. Old implmentation supported +nan/-nan + // backward-compatibility. Old implementation supported +nan/-nan // for some reason. QLocale only checks for lower-case // nan/+inf/-inf, so here we also check for uppercase and mixed // case versions.