summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-16 15:36:37 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-16 16:18:59 +0100
commit79f33c157e0689b18c0c7af2088a0aeffbfaa3c0 (patch)
treea8f0c6de2eeffffa4014da04138923530cc1d4df
parent9444fd8d967aaa28282df6e3c5fc9d62bcc61f1e (diff)
make find_msg_by_id clearer
-rw-r--r--telepathy-glib/text-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/text-channel.c b/telepathy-glib/text-channel.c
index d81c226ef..dc9e31205 100644
--- a/telepathy-glib/text-channel.c
+++ b/telepathy-glib/text-channel.c
@@ -471,7 +471,7 @@ find_msg_by_id (gconstpointer a,
if (!valid)
return 1;
- return msg_id - id;
+ return msg_id != id;
}
static void