src/extprogs.cc

changeset 604
01bdac75994a
parent 603
47e7773c7841
child 606
3dd6f343ec06
--- a/src/extprogs.cc	Tue Jan 07 08:53:27 2014 +0200
+++ b/src/extprogs.cc	Tue Jan 07 11:56:26 2014 +0200
@@ -170,7 +170,7 @@
 {
 	for (LDObject* obj : objects)
 	{
-		if (obj->getType() == LDObject::Subfile)
+		if (obj->getType() == LDObject::ESubfile)
 		{
 			LDSubfile* ref = static_cast<LDSubfile*> (obj);
 			QList<LDObject*> objs = ref->inlineContents (LDSubfile::DeepInline);

mercurial