diff options
Diffstat (limited to 'src/codecs/qtextcodec.cpp')
-rw-r--r-- | src/codecs/qtextcodec.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/codecs/qtextcodec.cpp b/src/codecs/qtextcodec.cpp index 23b6ff51a..c03529df2 100644 --- a/src/codecs/qtextcodec.cpp +++ b/src/codecs/qtextcodec.cpp @@ -504,17 +504,17 @@ int TQTextCodec::simpleHeuristicNameMatch(const char* name, const char* hint) { // if they're the same, return a perfect score. if ( name && hint && *name && *hint && qstricmp( name, hint ) == 0 ) - return qstrlen( hint ); + return tqstrlen( hint ); // if the letters and numbers are the same, we have an "almost" // perfect match. TQString h( lettersAndNumbers( hint ) ); TQString n( lettersAndNumbers( name ) ); if ( h == n ) - return qstrlen( hint )-1; + return tqstrlen( hint )-1; if ( h.stripWhiteSpace() == n.stripWhiteSpace() ) - return qstrlen( hint )-2; + return tqstrlen( hint )-2; // could do some more here, but I don't think it's worth it @@ -1115,7 +1115,7 @@ TQString TQTextCodec::toUnicode(const TQCString& a) const */ TQString TQTextCodec::toUnicode(const char* chars) const { - return toUnicode(chars,qstrlen(chars)); + return toUnicode(chars,tqstrlen(chars)); } /*! |