Tue, 22 Jul 2003 12:36:32 +0000
[gaim-migrate @ 6768]
g_strncasecmp is just as deprecated, but uglier ;-)
| src/pounce.c | file | annotate | diff | comparison | revisions |
--- 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; }