--- a/src/extPrograms.cc Mon Jun 02 13:00:58 2014 +0300 +++ b/src/extPrograms.cc Mon Jun 02 13:16:14 2014 +0300 @@ -170,7 +170,7 @@ { for (LDObjectPtr obj : objects) { - if (obj->type() == LDObject::ESubfile) + if (obj->type() == OBJ_Subfile) { LDSubfilePtr ref = obj.staticCast<LDSubfile>(); LDObjectList objs = ref->inlineContents (true, false);