[Telepathy-commits] [telepathy-gabble/master] Missing else case
Pierre-Luc Beaudoin
pierre-luc.beaudoin at collabora.co.uk
Sun Feb 1 05:24:03 PST 2009
---
src/conn-location.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/conn-location.c b/src/conn-location.c
index ee29d9d..1a0e34a 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -163,7 +163,7 @@ create_msg_foreach (gpointer key,
lm_message_node_add_child (geoloc, key, str);
DEBUG ("\t - %s: %s", (gchar*) key, str);
}
- if (G_VALUE_TYPE (value) == G_TYPE_DOUBLE)
+ else if (G_VALUE_TYPE (value) == G_TYPE_DOUBLE)
{
gchar *str;
str = g_strdup_printf ("%.6f", g_value_get_double (value));
--
1.5.6.5
More information about the Telepathy-commits
mailing list