aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-11 06:46:32 +0200
committerMattias Andrée <maandree@kth.se>2021-04-11 06:46:32 +0200
commitde0cca2bf6762ee1c8848f5a0dd1dcf7e60e780c (patch)
tree1ff541a256820b53cff9eb5f48a10198a490c389
parentFix birthday formatting and parsing (diff)
downloadlibcontacts-de0cca2bf6762ee1c8848f5a0dd1dcf7e60e780c.tar.gz
libcontacts-de0cca2bf6762ee1c8848f5a0dd1dcf7e60e780c.tar.bz2
libcontacts-de0cca2bf6762ee1c8848f5a0dd1dcf7e60e780c.tar.xz
Reduce coordinate details
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libcontacts_format_contact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcontacts_format_contact.c b/libcontacts_format_contact.c
index 81a06e4..9239c18 100644
--- a/libcontacts_format_contact.c
+++ b/libcontacts_format_contact.c
@@ -150,7 +150,7 @@ libcontacts_format_contact(const struct libcontacts_contact *contact, char **dat
if (address->city)
fprintf(fp, "\tCITY %s\n", address->city);
if (address->have_coordinates)
- fprintf(fp, "\tCOORD %.20lg %.20lg\n", address->latitude, address->longitude);
+ fprintf(fp, "\tCOORD %.16lg %.16lg\n", address->latitude, address->longitude);
if ((list = address->unrecognised_data))
for (; *list; list++)
fprintf(fp, "\t%s\n", *list);