diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ConduitProgrammingTutorial/index.tex | 4 |
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; |