From 278778f1151c2c3b4fade15afc7b94f624900b60 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 28 Mar 2025 12:35:55 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- src/element.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/element.cpp') diff --git a/src/element.cpp b/src/element.cpp index 9e813a0..0723702 100644 --- a/src/element.cpp +++ b/src/element.cpp @@ -38,11 +38,11 @@ namespace BibTeX bool Element::isSimpleString( const TQString &text ) { - bool result = TRUE; + bool result = true; const TQString goodChars = "abcdefghijklmnopqrstuvwxyz0123456789-_"; for ( unsigned int i = 0; result && i < text.length(); i++ ) - result &= goodChars.contains( text.at( i ), FALSE ); + result &= goodChars.contains( text.at( i ), false ); return result; } -- cgit v1.2.3