Browse Source

Fixed chm search results for large chm search databases with > 2 node levels

git-svn-id: trunk@20493 -
andrew 13 years ago
parent
commit
b50bd10818
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/chm/src/chmfiftimain.pas

+ 1 - 0
packages/chm/src/chmfiftimain.pas

@@ -1030,6 +1030,7 @@ begin
      //WriteLn('At Node Level ', NodeLevel);
      if ReadIndexNodeEntry(LastWord, NewWord, NewNodePosition) <> False then
      begin
+       LastWord := NewWord;
        //WriteLn('Found Index Entry: ', NewWord, ' Comparing to ', AWord);
        if  ChmCompareText(NewWord, AWord) >= 0 then
        begin