fixed a bug where defclasslib would search for lib instead of class

This commit is contained in:
David Anderson 2006-06-03 21:44:35 +00:00
parent fc5e049e4a
commit 7367f29cb4

View File

@ -218,10 +218,8 @@ LibError RunLibCommand(const LibDecoder *enc)
if (enc->cmd == LibCmd_ExpectLib)
expect = LibType_Library;
else if (enc->cmd == LibCmd_ExpectClass)
expect = LibType_Class;
else
expect = LibType_Library;
expect = LibType_Class;
/** see if it exists */
for (; iter != end; iter++)