src/extprogs.cpp

changeset 409
8da2563c645a
parent 402
ec95fc95e5f3
child 421
7d26db0be944
--- 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;
 	}
 	

mercurial