From f01e2c494ccb02637535b2419e80c172f85a5b5b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 9 Jun 2011 13:30:10 +0200 Subject: empathy_individual_match_string: match if the string IS a prefix --- libempathy-gtk/empathy-ui-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 0b0bf3050..7e4a82369 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -1984,7 +1984,7 @@ empathy_individual_match_string (FolksIndividual *individual, /* Accept the persona if @text is a full prefix of his ID; that allows * user to find, say, a jabber contact by typing his JID. */ - if (!g_str_has_prefix (str, text)) + if (g_str_has_prefix (str, text)) { retval = TRUE; } -- cgit v1.2.3