--- a/src/extprogs.cpp Tue Jul 30 21:31:36 2013 +0300 +++ b/src/extprogs.cpp Thu Aug 01 02:33:07 2013 +0300 @@ -166,7 +166,7 @@ void writeColorGroup (const short colnum, str fname) { List<LDObject*> objects; - for (LDObject* obj : *LDOpenFile::current()) { + for (LDObject* obj : *LDFile::current()) { if (obj->isColored() == false || obj->color() != colnum) continue; @@ -263,7 +263,7 @@ continue; } - LDOpenFile::current()->addObject (obj); + LDFile::current()->addObject (obj); g_win->sel() << obj; }