src/primitives.cpp

changeset 508
7ace3537a560
parent 504
6a1fa662bfc1
child 513
29eb671b34f6
--- a/src/primitives.cpp	Wed Oct 16 23:07:59 2013 +0300
+++ b/src/primitives.cpp	Wed Oct 16 23:20:35 2013 +0300
@@ -498,7 +498,7 @@
 // -----------------------------------------------------------------------------
 LDFile* generatePrimitive (PrimitiveType type, int segs, int divs, int num)
 {	// Make the description
-	str frac = ftoa ( ( (float) segs) / divs);
+	str frac = str::number ((float) segs / divs);
 	str name = radialFileName (type, segs, divs, num);
 	str descr;
 

mercurial