src/extPrograms.cc

changeset 786
71d786ce0dcc
parent 768
29e6c5552388
child 789
4b7306f52bb5
--- 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);

mercurial