src/extprogs.cpp

changeset 484
5b5c77c7f3dd
parent 483
138b7c5c3c59
child 493
16766ac1bbd9
--- a/src/extprogs.cpp	Sat Aug 24 16:30:30 2013 +0300
+++ b/src/extprogs.cpp	Sat Aug 24 16:52:45 2013 +0300
@@ -188,7 +188,7 @@
 void writeColorGroup (const short colnum, str fname) {
 	List<LDObject*> objects;
 	
-	for (LDObject* obj : *LDFile::current()) {
+	for (LDObject* obj : LDFile::current()->objects()) {
 		if (obj->isColored() == false || obj->color() != colnum)
 			continue;
 		

mercurial