diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 12:43:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 09:13:08 +0900 |
commit | bc1e1feb998dbde27fc1ba40c9edcf0165c6dc19 (patch) | |
tree | 44e7c1c198dd57036d9160737797bca8de7ab8b9 /conduits/docconduit/doc-conduit.cpp | |
parent | 6a8d645ce8fe121ba5d88dd89a1cf0c39f83816d (diff) | |
download | kpilot-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 'conduits/docconduit/doc-conduit.cpp')
-rw-r--r-- | conduits/docconduit/doc-conduit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conduits/docconduit/doc-conduit.cpp b/conduits/docconduit/doc-conduit.cpp index fb87c37..9e4afd5 100644 --- a/conduits/docconduit/doc-conduit.cpp +++ b/conduits/docconduit/doc-conduit.cpp @@ -472,9 +472,9 @@ void DOCConduit::syncNextTXT() // 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).latin1(), 30); + strncpy(&dbinfo.name[0], fl.baseName(true).latin1(), 30); - bool alreadySynced=fDBNames.contains(fl.baseName(TRUE)); + bool alreadySynced=fDBNames.contains(fl.baseName(true)); if (!alreadySynced) { docSyncInfo syncInfo(TQString::fromLatin1(dbinfo.name), txtfilename, pdbfilename, eSyncNone); @@ -528,7 +528,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, false)) { DBInfo dbinfo; |