mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:09:19 +02:00
* check for redirects also on other level. Fixes tbufdataset.active in the FCL index
git-svn-id: trunk@42138 -
This commit is contained in:
parent
8ba75c847a
commit
ad44f618da
@ -289,7 +289,7 @@ var
|
|||||||
ParentElement: TPasElement;
|
ParentElement: TPasElement;
|
||||||
MemberItem: TChmSiteMapItem;
|
MemberItem: TChmSiteMapItem;
|
||||||
Stream: TMemoryStream;
|
Stream: TMemoryStream;
|
||||||
s: String;
|
s,s2: String;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
DoLog('Generating Index...');
|
DoLog('Generating Index...');
|
||||||
@ -354,7 +354,12 @@ begin
|
|||||||
|
|
||||||
TmpItem := MemberItem.Children.NewItem;
|
TmpItem := MemberItem.Children.NewItem;
|
||||||
TmpItem.Text := ParentElement.Name;
|
TmpItem.Text := ParentElement.Name;
|
||||||
TmpITem.addLocal(FixHTMLpath(Allocator.GetFilename(TmpElement, 0)));
|
s2:=Allocator.GetFilename(TmpElement, 0);
|
||||||
|
if s<>s2 then
|
||||||
|
begin
|
||||||
|
writeln('Hint: Index2 Resolved:',tmpitem.local,' to ',s);
|
||||||
|
TmpItem.AddLocal(s);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
// routines
|
// routines
|
||||||
|
Loading…
Reference in New Issue
Block a user