Browse Source

* Fix typo in earlier commit

git-svn-id: trunk@17799 -
marco 14 years ago
parent
commit
e490fb1d9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/chm/src/chmreader.pas

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

@@ -1290,7 +1290,7 @@ begin
    EntryCount      := NtoLE(TOC.ReadDWord);
    TOPICSOffset    := NtoLE(TOC.ReadDWord);
 
-   if EntryCount <> 0 then
+   if EntryCount = 0 then
      begin
        Toc.Free;
        Exit;