--- a/src/extprogs.cpp Sat Jun 01 03:17:52 2013 +0300 +++ b/src/extprogs.cpp Sat Jun 01 20:09:31 2013 +0300 @@ -155,7 +155,7 @@ void writeColorGroup (const short colnum, str fname) { vector<LDObject*> objects; for (LDObject*& obj : g_curfile->objs ()) { - if (obj->isColored () == false || obj->color != colnum) + if (obj->isColored () == false || obj->color () != colnum) continue; objects << obj;