summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/HelpFileHeader.pas1
-rw-r--r--src/HelpTopic.pas2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/HelpFileHeader.pas b/src/HelpFileHeader.pas
index 592ccef9..3ba5ecd8 100644
--- a/src/HelpFileHeader.pas
+++ b/src/HelpFileHeader.pas
@@ -14,6 +14,7 @@ uses
DataTypes;
Type
+ PHelpFileHeader = ^THelpFileHeader;
THelpFileHeader = record
ID: int16; // ID magic word (5348h = "HS")
unknown1: int8; // unknown purpose, could be third letter of ID
diff --git a/src/HelpTopic.pas b/src/HelpTopic.pas
index 25915fe0..17acfb19 100644
--- a/src/HelpTopic.pas
+++ b/src/HelpTopic.pas
@@ -191,7 +191,7 @@ begin
_ContentsGroupIndex := 0;
_pTOCEntry := pTOCEntry;
- _NumSlots:= pTOCEntry ^. numslots;
+ _NumSlots:= pTOCEntry^.numslots;
GetMem( _Slots, _NumSlots * sizeof( THelpTopicSlot ) );