[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    qt-copy/src/tools
From:       David Faure <faure () kde ! org>
Date:       2004-06-23 10:20:54
Message-ID: 20040623102054.A48CD98E9 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Ah yeah I got it wrong again. Better revert to the code that was in the previous Qt version.
The code below checks for the '\0' case anyway.


  M +0 -2      qstring.cpp   1.66


--- qt-copy/src/tools/qstring.cpp  #1.65:1.66
@@ -5684,6 +5684,4 @@ QString QString::fromUtf8( const char* u
     if (  len < 0 )
         len = strlen( utf8 );
-    else
-        len = QMIN( strlen( utf8 ), len );
 
     QString result;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic