From 9a75b154bf0732aa3a501b6e31e566e06c5f8a31 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 2 Mar 2012 02:11:59 -0600 Subject: Undo prior accidental commit --- src/codecs/qeuckrcodec.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/codecs/qeuckrcodec.cpp') 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; } } -- cgit v1.2.3