diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-11 06:46:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-11 06:46:32 +0200 |
commit | de0cca2bf6762ee1c8848f5a0dd1dcf7e60e780c (patch) | |
tree | 1ff541a256820b53cff9eb5f48a10198a490c389 /libcontacts_format_contact.c | |
parent | Fix birthday formatting and parsing (diff) | |
download | libcontacts-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 'libcontacts_format_contact.c')
-rw-r--r-- | libcontacts_format_contact.c | 2 |
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); |