On Sat, Apr 5, 2014 at 11:04 AM, Gehad <[email protected]> wrote:
> The attached patch fixes willemf's problem.
> it set the default locale to the Minimal c locale which prevent
> put_formate() from replacing the decimal point with a comma in floating
> point numbers.
Oh. Please don't do that. Just fix the printing of the
latitude/longitude. %f is wrong, wrong, wrong, for this and other
reasons. We try to avoid floating point in subsurface for a reason.
See (for example) save-git.c: put_degrees()/show_gps() on how to do it right.
Linus
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface