diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-06-09 19:30:10 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-06-09 19:30:25 +0800 |
commit | f01e2c494ccb02637535b2419e80c172f85a5b5b (patch) | |
tree | 55323c8851aa7bf7c9e8db2cf65540c87ed41af4 /libempathy-gtk | |
parent | 18f8901e810a6843f549b06680d9411d12901e5d (diff) | |
download | gsoc2013-empathy-f01e2c494ccb02637535b2419e80c172f85a5b5b.tar gsoc2013-empathy-f01e2c494ccb02637535b2419e80c172f85a5b5b.tar.gz gsoc2013-empathy-f01e2c494ccb02637535b2419e80c172f85a5b5b.tar.bz2 gsoc2013-empathy-f01e2c494ccb02637535b2419e80c172f85a5b5b.tar.lz gsoc2013-empathy-f01e2c494ccb02637535b2419e80c172f85a5b5b.tar.xz gsoc2013-empathy-f01e2c494ccb02637535b2419e80c172f85a5b5b.tar.zst gsoc2013-empathy-f01e2c494ccb02637535b2419e80c172f85a5b5b.zip |
empathy_individual_match_string: match if the string IS a prefix
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |