From 7d612f7c91d55501276a385a30dbadb121e7bd9f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 8 Dec 2025 15:17:51 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 8 Signed-off-by: Michele Calgaro --- src/kernel/tqtextlayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/tqtextlayout.cpp') 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; } -- cgit v1.2.3