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/qsjiscodec.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/codecs/qsjiscodec.cpp') diff --git a/src/codecs/qsjiscodec.cpp b/src/codecs/qsjiscodec.cpp index 581971d..d6c1102 100644 --- a/src/codecs/qsjiscodec.cpp +++ b/src/codecs/qsjiscodec.cpp @@ -249,10 +249,10 @@ int QSjisCodec::heuristicNameMatch(const char* hint) const { int score = 0; bool ja = FALSE; - if (tqstrnicmp(hint, "ja_JP", 5) == 0 || tqstrnicmp(hint, "japan", 5) == 0) { + if (qstrnicmp(hint, "ja_JP", 5) == 0 || qstrnicmp(hint, "japan", 5) == 0) { score += 3; ja = TRUE; - } else if (tqstrnicmp(hint, "ja", 2) == 0) { + } else if (qstrnicmp(hint, "ja", 2) == 0) { score += 2; ja = TRUE; } @@ -267,9 +267,9 @@ int QSjisCodec::heuristicNameMatch(const char* hint) const p = hint; } if (p) { - if ((tqstricmp(p, "mscode") == 0) || - (tqstricmp(p, "PCK") == 0) || - (tqstricmp(p, "SJIS") == 0) || + if ((qstricmp(p, "mscode") == 0) || + (qstricmp(p, "PCK") == 0) || + (qstricmp(p, "SJIS") == 0) || (simpleHeuristicNameMatch(p, "ShiftJIS") > 0) || (simpleHeuristicNameMatch(p, "x-sjis") > 0)) { return score + 4; -- cgit v1.2.3