2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@15520 -
marco 15 жил өмнө
parent
commit
7b17aed939

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

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