CVS commit by antlarr: This fixes the parsing of QString::sprintf("%*.*g",(int),(int),(double)), thus fixing problems with QLcdNumber::display(double) among others, and thus fixing problems with KSysguard's Multimeter which was the one I wanted to fix :). The patch was approved by qt-bugs (Issue N38349) and will be included in the next release of Qt. M +7 -7 qstring.cpp 1.61 --- qt-copy/src/tools/qstring.cpp #1.60:1.61 @@ -2476,5 +2476,4 @@ QString &QString::sprintf( const char* c precision = precision_str.toInt(); } - } else if (*c == '*') { precision = va_arg(ap, int); @@ -2483,4 +2482,5 @@ QString &QString::sprintf( const char* c ++c; } + } if (*c == '\0') {