Prechádzať zdrojové kódy

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

git-svn-id: trunk@15584 -
andrew 15 rokov pred
rodič
commit
82c31c7139
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      packages/chm/src/chmfiftimain.pas

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

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