From d9f24c630d3a86190017de303bc5750e532cdb61 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Dec 2025 09:16:19 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 5 Signed-off-by: Michele Calgaro --- src/codecs/tqbig5codec.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/codecs/tqbig5codec.cpp') 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) { -- cgit v1.2.3