summaryrefslogtreecommitdiffstats
path: root/lib/libchmfile/libchmfileimpl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-31 15:40:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 10:31:18 +0900
commit705f5a5715650524a924fda398bb544dae7def3a (patch)
treed996b709b97c5681adc6cd5739c1d6f1733b20cf /lib/libchmfile/libchmfileimpl.cpp
parent82e8cf625e7ca747149760204b36724cd980bf81 (diff)
downloadkchmviewer-r14.1.4.tar.gz
kchmviewer-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 66dc020d264d1fe4ebe235e5dd7eceb863007d7c)
Diffstat (limited to 'lib/libchmfile/libchmfileimpl.cpp')
-rw-r--r--lib/libchmfile/libchmfileimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libchmfile/libchmfileimpl.cpp b/lib/libchmfile/libchmfileimpl.cpp
index 51bd7b4..63fc376 100644
--- a/lib/libchmfile/libchmfileimpl.cpp
+++ b/lib/libchmfile/libchmfileimpl.cpp
@@ -1032,18 +1032,18 @@ bool LCHMFileImpl::parseFileAndFillArray( const TQString & file, QT34VECTOR< LCH
TQString name_pattern = "name=", value_pattern = "value=";
TQString pname, pvalue;
- if ( (offset = tag.find (name_pattern, 0, FALSE)) == -1 )
+ if ( (offset = tag.find (name_pattern, 0, false)) == -1 )
tqFatal ("LCHMFileImpl::ParseAndFillTopicsTree: bad <param> tag '%s': no name=\n", tag.ascii());
// offset+5 skips 'name='
- offset = findStringInQuotes (tag, offset + name_pattern.length(), pname, TRUE, FALSE);
+ offset = findStringInQuotes (tag, offset + name_pattern.length(), pname, true, false);
pname = pname.lower();
- if ( (offset = tag.find (value_pattern, offset, FALSE)) == -1 )
+ if ( (offset = tag.find (value_pattern, offset, false)) == -1 )
tqFatal ("LCHMFileImpl::ParseAndFillTopicsTree: bad <param> tag '%s': no value=\n", tag.ascii());
// offset+6 skips 'value='
- findStringInQuotes (tag, offset + value_pattern.length(), pvalue, FALSE, TRUE);
+ findStringInQuotes (tag, offset + value_pattern.length(), pvalue, false, true);
//tqDebug ("<param>: name '%s', value '%s'", pname.ascii(), pvalue.ascii());