src/extprogs.cpp

changeset 266
12e7302f14e9
parent 265
955c0aabfebf
child 270
f5f2353af0d9
--- 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;

mercurial