From 3bcdd28a6a42d810523d30b30e9ccf880e2b0ca1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 4 Apr 2021 16:12:15 +0200 Subject: Reorder libcontacts_address and fix coord parsing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcontacts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcontacts.h') diff --git a/libcontacts.h b/libcontacts.h index 4a2d782..6eb4054 100644 --- a/libcontacts.h +++ b/libcontacts.h @@ -89,11 +89,11 @@ struct libcontacts_number { */ struct libcontacts_address { char *context; /* Work address (which job)? Home? Summer cabin? … */ - char *country; /* Which country? */ char *care_of; /* Care of address, if any */ char *address; /* Address, all lines in one */ char *postcode; /* Post code */ char *city; /* Which city is the post code tied to? */ + char *country; /* Which country? */ int have_coordinates; /* Are `.latitude` and `.longitude` defined? */ double latitude; /* Latitudal GPS coordinate */ double longitude; /* Longitudal GPS coordinate */ -- cgit v1.2.3-70-g09d2