Browse Source

* Remove leading / from LookupTopicByID. Mantis 16688 patch by Zilvinas Ledas.

git-svn-id: trunk@15520 -
marco 15 years ago
parent
commit
7b17aed939
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/chm/src/chmreader.pas

+ 1 - 1
packages/chm/src/chmreader.pas

@@ -472,7 +472,7 @@ begin
   fURLSTRStream.ReadDWord;
   fURLSTRStream.ReadDWord;
   if fURLSTRStream.Position < fURLSTRStream.Size-1 then
-    Result := '/'+PChar(fURLSTRStream.Memory+fURLSTRStream.Position);
+    Result := PChar(fURLSTRStream.Memory+fURLSTRStream.Position);
 end;
 
 function TChmReader.CheckCommonStreams: Boolean;