summaryrefslogtreecommitdiffstats
path: root/parts/documentation/protocols/chm/chmfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/protocols/chm/chmfile.cpp')
-rw-r--r--parts/documentation/protocols/chm/chmfile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/documentation/protocols/chm/chmfile.cpp b/parts/documentation/protocols/chm/chmfile.cpp
index 43ae8877..2d705b8e 100644
--- a/parts/documentation/protocols/chm/chmfile.cpp
+++ b/parts/documentation/protocols/chm/chmfile.cpp
@@ -66,7 +66,7 @@ bool Chm::getChunk(TQFile& f, uint chunkSize, ChmDirectoryMap& directoryMap) con
char tag[4];
if (f.readBlock(tag, 4) != 4) return false;
- if (!qstrncmp(tag, "PMGL", 4))
+ if (!tqstrncmp(tag, "PMGL", 4))
{
uint quickref_length = getIntel32(f);
f.at(f.at() + 12);
@@ -87,7 +87,7 @@ bool Chm::getChunk(TQFile& f, uint chunkSize, ChmDirectoryMap& directoryMap) con
return (f.at(f.at() + quickref_length));
}
- else if (!qstrncmp(tag, "PMGI", 4))
+ else if (!tqstrncmp(tag, "PMGI", 4))
{
// evaluation of the index chunk is not yet implemented => skip it
return f.at(f.at() + chunkSize - 4);
@@ -105,7 +105,7 @@ bool Chm::read(const TQString& fileSpec, ChmDirectoryMap& dirMap, TQByteArray& c
// read CHM file header
char tag[4];
- if (f.readBlock(tag, 4) != 4 || qstrncmp(tag, "ITSF", 4)) return false;
+ if (f.readBlock(tag, 4) != 4 || tqstrncmp(tag, "ITSF", 4)) return false;
uint chm_version = getIntel32(f);
if (!f.at(f.at() + 0x30)) return false;
@@ -120,7 +120,7 @@ bool Chm::read(const TQString& fileSpec, ChmDirectoryMap& dirMap, TQByteArray& c
// read directory header
if (!f.at(section_1_offset)) return false;
- if (f.readBlock(tag, 4) != 4 || qstrncmp(tag, "ITSP", 4)) return false;
+ if (f.readBlock(tag, 4) != 4 || tqstrncmp(tag, "ITSP", 4)) return false;
if (!f.at(f.at() + 12)) return false;
uint directory_chunk_size = getIntel32(f);
if (!f.at(f.at() + 24)) return false;