mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:09:20 +02:00
Fixed chm search results for large chm search databases with > 2 node levels
git-svn-id: trunk@20493 -
This commit is contained in:
parent
6b94087dd4
commit
b50bd10818
@ -1030,6 +1030,7 @@ begin
|
|||||||
//WriteLn('At Node Level ', NodeLevel);
|
//WriteLn('At Node Level ', NodeLevel);
|
||||||
if ReadIndexNodeEntry(LastWord, NewWord, NewNodePosition) <> False then
|
if ReadIndexNodeEntry(LastWord, NewWord, NewNodePosition) <> False then
|
||||||
begin
|
begin
|
||||||
|
LastWord := NewWord;
|
||||||
//WriteLn('Found Index Entry: ', NewWord, ' Comparing to ', AWord);
|
//WriteLn('Found Index Entry: ', NewWord, ' Comparing to ', AWord);
|
||||||
if ChmCompareText(NewWord, AWord) >= 0 then
|
if ChmCompareText(NewWord, AWord) >= 0 then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user