diff -r 2a8e4bbb5a94 -r 71d786ce0dcc src/extPrograms.cc --- 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(); LDObjectList objs = ref->inlineContents (true, false);