From a3fc822244ed669c7e71ea624429c815b0d6ede2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 28 Mar 2025 12:43:45 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- Documentation/ConduitProgrammingTutorial/index.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation/ConduitProgrammingTutorial') diff --git a/Documentation/ConduitProgrammingTutorial/index.tex b/Documentation/ConduitProgrammingTutorial/index.tex index e852eeb..9f39441 100644 --- a/Documentation/ConduitProgrammingTutorial/index.tex +++ b/Documentation/ConduitProgrammingTutorial/index.tex @@ -1105,7 +1105,7 @@ void DOCConduit::syncNextDOC() { // Include all "extensions" except the last. This allows full stops inside the database name (e.g. abbreviations) // first fill everything with 0, so we won't have a buffer overflow. memset(&dbinfo.name[0], 0, 33); - strncpy(&dbinfo.name[0], fl.baseName(TRUE), 30); + strncpy(&dbinfo.name[0], fl.baseName(true), 30); bool alreadySynced=fDBNames.contains(dbinfo.name); if (!alreadySynced) { @@ -1155,7 +1155,7 @@ void DOCConduit::checkPDBFiles() { // Get the doc title and check if it has already been synced (in the synced docs list of in fDBNames to be synced) // If the doc title doesn't appear in either list, install it to the Handheld, and add it to the list of dbs to be synced. - TQString dbname=fl.baseName(TRUE).left(30); + TQString dbname=fl.baseName(true).left(30); if (!fDBNames.contains(dbname) && !fDBListSynced.contains(dbname)) { if (fHandle->installFiles(pdbfilename )) { DBInfo dbinfo; -- cgit v1.2.3