summaryrefslogtreecommitdiff
path: root/packages/chm
diff options
context:
space:
mode:
authorandrew <andrew@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-07-15 21:42:02 +0000
committerandrew <andrew@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-07-15 21:42:02 +0000
commita233de2442b90ef763d94dc9ea86d010f511026c (patch)
tree21a21927c919ce4b9655e9837e20df623c19b8f0 /packages/chm
parent75570e66b901be5e9e992589b20bf22863f720d4 (diff)
downloadfpc-a233de2442b90ef763d94dc9ea86d010f511026c.tar.gz
* Fixed chm bug that stopped the search db fr ever being written to a file
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@15584 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/chm')
-rw-r--r--packages/chm/src/chmfiftimain.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/chm/src/chmfiftimain.pas b/packages/chm/src/chmfiftimain.pas
index c2e3f9207a..2f646d2937 100644
--- a/packages/chm/src/chmfiftimain.pas
+++ b/packages/chm/src/chmfiftimain.pas
@@ -265,7 +265,7 @@ end;
function TChmSearchWriter.GetHasData: Boolean;
begin
- Result := FActiveLeafNode <> nil;
+ Result := FWordList.IndexedFileCount > 0;
end;