]> git.0d.be Git - empathy.git/commitdiff
empathy_individual_match_string: match if the string IS a prefix
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 9 Jun 2011 11:30:10 +0000 (13:30 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 9 Jun 2011 11:30:25 +0000 (13:30 +0200)
libempathy-gtk/empathy-ui-utils.c

index 0b0bf305065d59ca69da592d2a4dc4bf4279115e..7e4a823698fb1530f8046a0def6804794a9a1222 100644 (file)
@@ -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;
             }