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:12:50 +0900
commita3fc822244ed669c7e71ea624429c815b0d6ede2 (patch)
tree46be85985705ef17cc05626b2dfdd1c410a85367 /Documentation/ConduitProgrammingTutorial/index.tex
parent445267d75b91ebdce885a31f325a5bc9c257d268 (diff)
downloadkpilot-a3fc822244ed669c7e71ea624429c815b0d6ede2.tar.gz
kpilot-a3fc822244ed669c7e71ea624429c815b0d6ede2.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;