Mercurial > pidgin.yaz
changeset 6271:08672f5033a7
[gaim-migrate @ 6768]
g_strncasecmp is just as deprecated, but uglier ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 22 Jul 2003 12:36:32 +0000 |
parents | 1bf6fd117797 |
children | 8f8daf1de7bd |
files | src/pounce.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pounce.c Tue Jul 22 08:23:51 2003 +0000 +++ b/src/pounce.c Tue Jul 22 12:36:32 2003 +0000 @@ -376,8 +376,7 @@ if ((gaim_pounce_get_events(pounce) & events) && (gaim_pounce_get_pouncer(pounce) == pouncer) && - !g_strncasecmp(gaim_pounce_get_pouncee(pounce), pouncee, - strlen(pouncee))) { + !gaim_utf8_strcasecmp(gaim_pounce_get_pouncee(pounce), pouncee)) { handler = g_hash_table_lookup(pounce_handlers, pounce->ui_type); @@ -407,8 +406,7 @@ if ((gaim_pounce_get_events(pounce) & events) && (gaim_pounce_get_pouncer(pounce) == pouncer) && - !g_strncasecmp(gaim_pounce_get_pouncee(pounce), pouncee, - strlen(pouncee))) { + !gaim_utf8_strcasecmp(gaim_pounce_get_pouncee(pounce), pouncee)) { return pounce; }