From de0cca2bf6762ee1c8848f5a0dd1dcf7e60e780c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 11 Apr 2021 06:46:32 +0200 Subject: Reduce coordinate details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcontacts_format_contact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2