mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:29:44 +02:00
* fix for case that none of the two indexes are present.
git-svn-id: trunk@13844 -
This commit is contained in:
parent
7e731c78b6
commit
49aacb4a24
@ -938,7 +938,9 @@ begin
|
|||||||
Result := TChmSiteMap.Create(stIndex);
|
Result := TChmSiteMap.Create(stIndex);
|
||||||
Result.LoadFromStream(Index);
|
Result.LoadFromStream(Index);
|
||||||
Index.Free;
|
Index.Free;
|
||||||
end;
|
end
|
||||||
|
else
|
||||||
|
result:=nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure createentry(Name:ansistring;CharIndex:integer;Topic,Title:ansistring);
|
procedure createentry(Name:ansistring;CharIndex:integer;Topic,Title:ansistring);
|
||||||
|
Loading…
Reference in New Issue
Block a user