# HG changeset patch # User IBBoard # Date 1240141109 0 # Node ID 1c19230d568d66194695f652c28da060b562428e # Parent 1a5205612b72863c1cfb1a4e2289eec8f5f5af83 Fixes #76 - Duplicate file table entries * Add a "doesn't contain" check to adding file entries diff -r 1a5205612b72 -r 1c19230d568d ABFile.cs --- a/ABFile.cs Sun Apr 19 11:24:10 2009 +0000 +++ b/ABFile.cs Sun Apr 19 11:38:29 2009 +0000 @@ -52,7 +52,7 @@ public void AddFileTableEntry(FileTableEntry tableEntry) { - if (tableEntry!=null) + if (tableEntry!=null && !files.Contains(tableEntry)) { files.Add(tableEntry); tableEntry.ParentFile = this;