diff -r fddd36a6526c -r 4f95d7f2e9ef src/misc.cpp --- a/src/misc.cpp Sun May 19 02:55:29 2013 +0300 +++ b/src/misc.cpp Sun May 19 03:42:25 2013 +0300 @@ -132,12 +132,12 @@ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ============================================================================= // Float to string. Removes trailing zeroes and is locale-independant. -str ftoa (double fCoord) { +str ftoa (double num) { // Disable the locale first so that the decimal point will not // turn into anything weird (like commas) setlocale (LC_NUMERIC, "C"); - str zRep = fmt ("%f", fCoord); + str zRep = fmt ("%f", num); // Remove trailing zeroes while (zRep[~zRep - 1] == '0')