--- 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;