浏览代码

* 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;