diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/codecs/qtextcodec.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
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)); } /*! |