summaryrefslogtreecommitdiffstats
path: root/src/codecs/qeuckrcodec.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:11:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:11:59 -0600
commit9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch)
treedf1e10cc7504665622d096f9ba80dc9e56f3afb8 /src/codecs/qeuckrcodec.cpp
parenta830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff)
downloadqt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz
qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip
Undo prior accidental commit
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 18efec7..fe06159 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 (tqstrnicmp(hint, "ko_KR", 5) == 0 ||
- tqstrnicmp(hint, "korean", 5) == 0) {
+ if (qstrnicmp(hint, "ko_KR", 5) == 0 ||
+ qstrnicmp(hint, "korean", 5) == 0) {
score += 3;
ko = TRUE;
- } else if (tqstrnicmp(hint, "ko", 2) == 0) {
+ } else if (qstrnicmp(hint, "ko", 2) == 0) {
score += 2;
ko = TRUE;
}
@@ -231,10 +231,10 @@ int QEucKrCodec::heuristicNameMatch(const char* hint) const
p = hint;
}
if (p) {
- if (tqstricmp(p, "eucKR") == 0) {
+ if (qstricmp(p, "eucKR") == 0) {
return score + 4;
}
- else if (tqstricmp(p, "euc") == 0 && ko) {
+ else if (qstricmp(p, "euc") == 0 && ko) {
return score + 4;
}
}