Patched the string handler

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1170160 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent a3beaa08c4
commit 5c53de6d11

@ -558,7 +558,7 @@ TQString KStringHandler::obscure( const TQString &str )
TQString result; TQString result;
const TQChar *unicode = str.unicode(); const TQChar *unicode = str.unicode();
for ( uint i = 0; i < str.length(); ++i ) for ( uint i = 0; i < str.length(); ++i )
result += ( unicode[ i ].unicode() <= 0x21 ) ? unicode[ i ] : result += ( unicode[ i ].unicode() < 0x21 ) ? unicode[ i ] :
TQChar( 0x1001F - unicode[ i ].unicode() ); TQChar( 0x1001F - unicode[ i ].unicode() );
return result; return result;

Loading…
Cancel
Save