--- 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);