aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/contacts-map/contacts-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/contacts-map/contacts-map.c')
-rw-r--r--plugins/contacts-map/contacts-map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/contacts-map/contacts-map.c b/plugins/contacts-map/contacts-map.c
index 868930035d..bb46be65e6 100644
--- a/plugins/contacts-map/contacts-map.c
+++ b/plugins/contacts-map/contacts-map.c
@@ -150,8 +150,8 @@ show_map_general (ESourceSelector *selector)
/* Get the lat & lng and add the marker asynchronously */
i = 0;
addr = NULL;
- while (!addr && i<G_N_ELEMENTS(addr_fields)) {
- addr = e_contact_get(contact, addr_fields[i]);
+ while (!addr && i<G_N_ELEMENTS (addr_fields)) {
+ addr = e_contact_get (contact, addr_fields[i]);
i++;
}
@@ -169,7 +169,7 @@ show_map_general (ESourceSelector *selector)
*min_lat = lat;
}
if (!max_lat) {
- max_lat = g_malloc (sizeof(gdouble));
+ max_lat = g_malloc (sizeof (gdouble));
*max_lat = lat;
}
if (!min_lng) {