er, I said don't limit the amount of decimals

Tue, 19 Mar 2013 18:15:31 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 19 Mar 2013 18:15:31 +0200
changeset 37
a413d389b634
parent 36
ac7779339b01
child 38
20f5eaae8425

er, I said don't limit the amount of decimals

misc.cpp file | annotate | diff | comparison | revisions
--- a/misc.cpp	Tue Mar 19 18:14:37 2013 +0200
+++ b/misc.cpp	Tue Mar 19 18:15:31 2013 +0200
@@ -72,7 +72,7 @@
 	// turn into anything weird (like commas)
 	setlocale (LC_NUMERIC, "C");
 	
-	str zRep = str::mkfmt ("%.6f", fCoord);
+	str zRep = str::mkfmt ("%f", fCoord);
 	
 	// Remove trailing zeroes
 	while (zRep[~zRep - 1] == '0')

mercurial