summaryrefslogtreecommitdiffstats
path: root/src/codecs/qgb18030codec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/qgb18030codec.cpp')
-rw-r--r--src/codecs/qgb18030codec.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/codecs/qgb18030codec.cpp b/src/codecs/qgb18030codec.cpp
index 8630cf32e..5595949b8 100644
--- a/src/codecs/qgb18030codec.cpp
+++ b/src/codecs/qgb18030codec.cpp
@@ -269,11 +269,11 @@ TQString TQGb18030Codec::toUnicode(const char* chars, int len) const
int TQGb18030Codec::heuristicNameMatch(const char* hint) const
{
int score = 0;
- bool zh = FALSE;
+ bool zh = false;
//tqDebug("TQGb18030Codec::heuristicNameMatch(const char* hint = \"%s\")", hint);
if (tqstrnicmp(hint, "zh_CN", 5) == 0){
score += 10;
- zh = TRUE;
+ zh = true;
}
const char *p;
if ( zh ) {
@@ -480,11 +480,11 @@ int TQGbkCodec::heuristicNameMatch(const char* hint) const
#endif
int score = 0;
- bool zh = FALSE;
+ bool zh = false;
//tqDebug("TQGbkCodec::heuristicNameMatch(const char* hint = \"%s\")", hint);
if (tqstrnicmp(hint, "zh_CN", 5) == 0){
score += 10;
- zh = TRUE;
+ zh = true;
}
const char *p;
if ( zh ) {
@@ -674,11 +674,11 @@ const char* TQGb2312Codec::name() const
int TQGb2312Codec::heuristicNameMatch(const char* hint) const
{
int score = 0;
- bool zh = FALSE;
+ bool zh = false;
//tqDebug("TQGb2312Codec::heuristicNameMatch(const char* hint = \"%s\")", hint);
if (tqstrnicmp(hint, "zh_CN", 5) == 0){
score += 10;
- zh = TRUE;
+ zh = true;
}
const char *p;
if ( zh ) {