diff options
Diffstat (limited to 'src/codecs/tqbig5codec.cpp')
| -rw-r--r-- | src/codecs/tqbig5codec.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/codecs/tqbig5codec.cpp b/src/codecs/tqbig5codec.cpp index 5184973d2..09db78800 100644 --- a/src/codecs/tqbig5codec.cpp +++ b/src/codecs/tqbig5codec.cpp @@ -715,15 +715,15 @@ int TQBig5Codec::heuristicNameMatch(const char* hint) const { //tqDebug("TQBig5hkscsCodec::heuristicNameMatch(const char* hint = \"%s\")", hint); int score = 0; - bool zh = FALSE; + bool zh = false; if (tqstrnicmp(hint, "zh_TW", 5) == 0) { score += 16; - zh = TRUE; + zh = true; } else if ( tqstrnicmp(hint, "zh", 2) == 0 || tqstrnicmp(hint, "chinese", 7) == 0) { score += 2; - zh = TRUE; + zh = true; } const char *p; if (zh) { @@ -962,15 +962,15 @@ int TQBig5hkscsCodec::heuristicNameMatch(const char* hint) const { //tqDebug("TQBig5hkscsCodec::heuristicNameMatch(const char* hint = \"%s\")", hint); int score = 0; - bool zh = FALSE; + bool zh = false; if (tqstrnicmp(hint, "zh_HK", 5) == 0) { score += 16; - zh = TRUE; + zh = true; } else if ( tqstrnicmp(hint, "zh", 2) == 0 || tqstrnicmp(hint, "chinese", 7) == 0) { score += 2; - zh = TRUE; + zh = true; } const char *p; if (zh) { |
