summaryrefslogtreecommitdiffstats
path: root/src/codecs/qeuckrcodec.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/codecs/qeuckrcodec.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 547c00e80..433f4b8bd 100644
--- a/src/codecs/qeuckrcodec.cpp
+++ b/src/codecs/qeuckrcodec.cpp
@@ -212,11 +212,11 @@ int TQEucKrCodec::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 TQEucKrCodec::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;
}
}