summaryrefslogtreecommitdiffstats
path: root/src/element.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 09:11:28 +0900
commit59be12b130757642abe0ea212fcb8f919879e5b5 (patch)
treeb407f94812a772cf01d1281110b9c030080446d6 /src/element.cpp
parenta034edf0e3a516b55994c7aba28d1956c697c231 (diff)
downloadkbibtex-r14.1.4.tar.gz
kbibtex-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 278778f1151c2c3b4fade15afc7b94f624900b60)
Diffstat (limited to 'src/element.cpp')
-rw-r--r--src/element.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}