diff options
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c index d6774b5c7..4183b1c51 100644 --- a/save-xml.c +++ b/save-xml.c @@ -162,7 +162,7 @@ static void show_location(FILE *f, struct dive *dive) */ if (latitude || longitude) { int len = snprintf(buffer, sizeof(buffer)-4, - " <location gps='%f %f'>", + " <location gps='%.12g %.12g'>", latitude, longitude); if (!dive->location) { memcpy(&buffer[len-1], "/>\n", 4); |