summaryrefslogtreecommitdiffstats
path: root/src/codecs/tqsjiscodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/tqsjiscodec.cpp')
-rw-r--r--src/codecs/tqsjiscodec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codecs/tqsjiscodec.cpp b/src/codecs/tqsjiscodec.cpp
index 6262604e3..010ff9293 100644
--- a/src/codecs/tqsjiscodec.cpp
+++ b/src/codecs/tqsjiscodec.cpp
@@ -248,13 +248,13 @@ const char* TQSjisCodec::mimeName() const
int TQSjisCodec::heuristicNameMatch(const char* hint) const
{
int score = 0;
- bool ja = FALSE;
+ bool ja = false;
if (tqstrnicmp(hint, "ja_JP", 5) == 0 || tqstrnicmp(hint, "japan", 5) == 0) {
score += 3;
- ja = TRUE;
+ ja = true;
} else if (tqstrnicmp(hint, "ja", 2) == 0) {
score += 2;
- ja = TRUE;
+ ja = true;
}
const char *p;
if (ja) {