From 2e854ed61c1aa804e0d373ca5af1d87882511a11 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 22 Dec 2005 16:33:39 +0000 Subject: Fixed a few small PLM bugs. git-svn-id: http://svn.leocad.org/trunk@445 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/library.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common') diff --git a/common/library.cpp b/common/library.cpp index 4da81b9..b2bed83 100755 --- a/common/library.cpp +++ b/common/library.cpp @@ -405,6 +405,8 @@ bool PiecesLibrary::LoadCategories(const char* FileName) if (i != LC_CATEGORY_FILE_VERSION) return false; + m_Categories.RemoveAll(); + File.ReadInt(&i); while (i--) { -- cgit v1.2.3