summaryrefslogtreecommitdiffstats
path: root/src/codecs/qeuckrcodec.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /src/codecs/qeuckrcodec.cpp
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10.tar.gz
qt3-a830bf10.zip
Rename additional global TQt functions
Diffstat (limited to 'src/codecs/qeuckrcodec.cpp')
-rw-r--r--src/codecs/qeuckrcodec.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/codecs/qeuckrcodec.cpp b/src/codecs/qeuckrcodec.cpp
index fe06159..18efec7 100644
--- a/src/codecs/qeuckrcodec.cpp
+++ b/src/codecs/qeuckrcodec.cpp
@@ -212,11 +212,11 @@ int QEucKrCodec::heuristicNameMatch(const char* hint) const
{
int score = 0;
bool ko = FALSE;
- if (qstrnicmp(hint, "ko_KR", 5) == 0 ||
- qstrnicmp(hint, "korean", 5) == 0) {
+ if (tqstrnicmp(hint, "ko_KR", 5) == 0 ||
+ tqstrnicmp(hint, "korean", 5) == 0) {
score += 3;
ko = TRUE;
- } else if (qstrnicmp(hint, "ko", 2) == 0) {
+ } else if (tqstrnicmp(hint, "ko", 2) == 0) {
score += 2;
ko = TRUE;
}
@@ -231,10 +231,10 @@ int QEucKrCodec::heuristicNameMatch(const char* hint) const
p = hint;
}
if (p) {
- if (qstricmp(p, "eucKR") == 0) {
+ if (tqstricmp(p, "eucKR") == 0) {
return score + 4;
}
- else if (qstricmp(p, "euc") == 0 && ko) {
+ else if (tqstricmp(p, "euc") == 0 && ko) {
return score + 4;
}
}