소스 검색

* Fixed chm bug that stopped the search db fr ever being written to a file

git-svn-id: trunk@15584 -
andrew 15 년 전
부모
커밋
82c31c7139
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/chm/src/chmfiftimain.pas

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

@@ -265,7 +265,7 @@ end;
 
 function TChmSearchWriter.GetHasData: Boolean;
 begin
-  Result := FActiveLeafNode <> nil;
+  Result := FWordList.IndexedFileCount > 0;
 end;