diff options
-rw-r--r-- | libempathy/empathy-contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index ef47fb380..35cfd3a98 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -1265,7 +1265,7 @@ geocode_cb (GeoclueGeocode *geocode, /* Set the altitude only if it wasn't defined before */ if (fields & GEOCLUE_POSITION_FIELDS_ALTITUDE && - g_hash_table_lookup (new_location, EMPATHY_LOCATION_LAT) == NULL) + g_hash_table_lookup (new_location, EMPATHY_LOCATION_ALT) == NULL) { tp_asv_set_double (new_location, g_strdup (EMPATHY_LOCATION_ALT), altitude); |