summaryrefslogtreecommitdiffstats
path: root/src/codecs/tqfontcncodec.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/tqfontcncodec.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/tqfontcncodec.cpp')
-rw-r--r--src/codecs/tqfontcncodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codecs/tqfontcncodec.cpp b/src/codecs/tqfontcncodec.cpp
index 36ffc4e54..58bc956b3 100644
--- a/src/codecs/tqfontcncodec.cpp
+++ b/src/codecs/tqfontcncodec.cpp
@@ -233,7 +233,7 @@ void TQFontGbkCodec::fromUnicode(const TQChar *in, unsigned short *out, int leng
bool TQFontGbkCodec::canEncode( TQChar ch ) const
{
if (ch.unicode() >= 0x4e00 && ch.unicode() <= 0x9fa5)
- return TRUE;
+ return true;
uchar buf[4];
int len = qt_UnicodeToGbk( ch.unicode(), buf );
//tqDebug("TQFontGbkCodec::canEncode( TQChar ch = %02X%02X )", ch.row(), ch.cell());