ldtypes.cpp

changeset 40
215b9f8f0cd7
parent 39
110669124caf
child 41
4ca63da5546b
--- a/ldtypes.cpp	Tue Mar 19 21:52:38 2013 +0200
+++ b/ldtypes.cpp	Wed Mar 20 01:58:05 2013 +0200
@@ -166,14 +166,10 @@
 str LDCondLine::getContents () {
 	str val = str::mkfmt ("5 %d", dColor);
 	
-	// Add the coordinates of end points
-	for (ushort i = 0; i < 2; ++i)
+	// Add the coordinates
+	for (ushort i = 0; i < 4; ++i)
 		val.appendformat (" %s", vaCoords[i].getStringRep (false).chars ());
 	
-	// Add the control points
-	for (ushort i = 0; i < 2; ++i)
-		val.appendformat (" %s", vaControl[i].getStringRep (false).chars ());
-	
 	return val;
 }
 

mercurial