summaryrefslogtreecommitdiffstats
path: root/Documentation/ConduitProgrammingTutorial/index.tex
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:43:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 09:13:08 +0900
commitbc1e1feb998dbde27fc1ba40c9edcf0165c6dc19 (patch)
tree44e7c1c198dd57036d9160737797bca8de7ab8b9 /Documentation/ConduitProgrammingTutorial/index.tex
parent6a8d645ce8fe121ba5d88dd89a1cf0c39f83816d (diff)
downloadkpilot-r14.1.4.tar.gz
kpilot-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 a3fc822244ed669c7e71ea624429c815b0d6ede2)
Diffstat (limited to 'Documentation/ConduitProgrammingTutorial/index.tex')
-rw-r--r--Documentation/ConduitProgrammingTutorial/index.tex4
1 files changed, 2 insertions, 2 deletions
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;