src/extprogs.cpp

changeset 377
271d1da66b7e
parent 345
1376ad3262ba
child 378
bc3f40dcfa9e
--- a/src/extprogs.cpp	Sat Jul 13 17:35:38 2013 +0300
+++ b/src/extprogs.cpp	Sat Jul 13 19:02:48 2013 +0300
@@ -127,7 +127,7 @@
 void writeObjects (vector<LDObject*>& objects, File& f) {
 	for (LDObject* obj : objects) {
 		if (obj->getType () == LDObject::Subfile) {
-			vector<LDObject*> objs = static_cast<LDSubfile*> (obj)->inlineContents (true, false);
+			vector<LDObject*> objs = static_cast<LDSubfileObject*> (obj)->inlineContents (true, false);
 			
 			writeObjects (objs, f);
 			for (LDObject* obj : objs)

mercurial