summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqtextlayout.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-08 15:17:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-08 19:38:03 +0900
commit7d612f7c91d55501276a385a30dbadb121e7bd9f (patch)
tree4c6f1546e16db32779dfbf5c9e107b938faee6bb /src/kernel/tqtextlayout.cpp
parent5a863a8932d14b99c5f838c4efa1618070d71b29 (diff)
downloadtqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.tar.gz
tqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.zip
Replace TRUE/FALSE with boolean values true/false - part 8HEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/tqtextlayout.cpp')
-rw-r--r--src/kernel/tqtextlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tqtextlayout.cpp b/src/kernel/tqtextlayout.cpp
index 0d50e4106..5d424f423 100644
--- a/src/kernel/tqtextlayout.cpp
+++ b/src/kernel/tqtextlayout.cpp
@@ -453,7 +453,7 @@ TQTextLayout::Result TQTextLayout::endLine( int x, int y, int alignment,
if ( breakItem != i )
itemWidth = 0;
if (itemAttrs->softBreak)
- breakany = FALSE;
+ breakany = false;
breakItem = i;
breakPosition = pos;
// tqDebug("found possible break at item %d, position %d (absolute=%d), w=%d, tmpWidth=%d, tmpItemWidth=%d", breakItem, breakPosition, d->items[breakItem].position+breakPosition, w, tmpWidth, tmpItemWidth);
@@ -633,7 +633,7 @@ bool TQTextLayout::validCursorPosition( int pos ) const
{
const TQCharAttributes *attributes = d->attributes();
if ( pos < 0 || pos > (int)d->string.length() )
- return FALSE;
+ return false;
return attributes[pos].charStop;
}