summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-30 23:34:59 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-30 23:34:59 +0000
commit5c53de6d11e4a3d61e52be851479713f2d8af67e (patch)
tree20f71c2c769139009a4ff4a1e753cc82fb15e485
parenta3beaa08c4d5275d67447e2ed4e9a1bd2a4c3050 (diff)
downloadtdelibs-5c53de6d11e4a3d61e52be851479713f2d8af67e.tar.gz
tdelibs-5c53de6d11e4a3d61e52be851479713f2d8af67e.zip
Patched the string handler
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1170160 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kdecore/kstringhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kstringhandler.cpp b/kdecore/kstringhandler.cpp
index 3c13a9b57..8b5ca1a7d 100644
--- a/kdecore/kstringhandler.cpp
+++ b/kdecore/kstringhandler.cpp
@@ -558,7 +558,7 @@ TQString KStringHandler::obscure( const TQString &str )
TQString result;
const TQChar *unicode = str.unicode();
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() );
return result;