summaryrefslogtreecommitdiffstats
path: root/src/codecs/tqeuckrcodec.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-05 09:16:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-05 09:16:19 +0900
commitd9f24c630d3a86190017de303bc5750e532cdb61 (patch)
tree50ef1ae6ea0187fbbe258f0d73388fc93508eeec /src/codecs/tqeuckrcodec.cpp
parent4d495175043c399fdca6e1bb4c74ef176fc76fb4 (diff)
downloadtqt-d9f24c630d3a86190017de303bc5750e532cdb61.tar.gz
tqt-d9f24c630d3a86190017de303bc5750e532cdb61.zip
Replace TRUE/FALSE with boolean values true/false - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/codecs/tqeuckrcodec.cpp')
-rw-r--r--src/codecs/tqeuckrcodec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codecs/tqeuckrcodec.cpp b/src/codecs/tqeuckrcodec.cpp
index bba2c8808..9b9192a80 100644
--- a/src/codecs/tqeuckrcodec.cpp
+++ b/src/codecs/tqeuckrcodec.cpp
@@ -211,14 +211,14 @@ const char* TQEucKrCodec::mimeName() const
int TQEucKrCodec::heuristicNameMatch(const char* hint) const
{
int score = 0;
- bool ko = FALSE;
+ bool ko = false;
if (tqstrnicmp(hint, "ko_KR", 5) == 0 ||
tqstrnicmp(hint, "korean", 5) == 0) {
score += 3;
- ko = TRUE;
+ ko = true;
} else if (tqstrnicmp(hint, "ko", 2) == 0) {
score += 2;
- ko = TRUE;
+ ko = true;
}
const char *p;
if (ko) {