Mercurial > pidgin.yaz
diff src/buddy_chat.c @ 2048:3366311426df
[gaim-migrate @ 2058]
little things
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 17 Jun 2001 08:37:44 +0000 |
parents | eee309c0de93 |
children | b66aca8e8dce |
line wrap: on
line diff
--- a/src/buddy_chat.c Sun Jun 17 04:35:09 2001 +0000 +++ b/src/buddy_chat.c Sun Jun 17 08:37:44 2001 +0000 @@ -361,7 +361,7 @@ /* k, so now we've gotten past all the HTML crap. */ if (!*c) return FALSE; - if (!strncasecmp(c, "/me ", 4)) { + if (!g_strncasecmp(c, "/me ", 4)) { sprintf(c, "%s", c + 4); return TRUE; } else @@ -379,7 +379,7 @@ } while (ignore) { - if (!strcasecmp(who, ignore->data)) + if (!g_strcasecmp(who, ignore->data)) return; ignore = ignore->next; } @@ -387,7 +387,7 @@ if (!(flag & WFLAG_WHISPER)) { str = g_strdup(normalize(who)); - if (!strcasecmp(str, normalize(b->gc->username))) { + if (!g_strcasecmp(str, normalize(b->gc->username))) { debug_printf("%s %s\n", normalize(who), normalize(b->gc->username)); if (b->makesound && (sound_options & OPT_SOUND_CHAT_YOU_SAY)) play_sound(CHAT_YOU_SAY); @@ -545,7 +545,7 @@ ignored = b->ignored; while (ignored) { - if (!strcasecmp(name, ignored->data)) + if (!g_strcasecmp(name, ignored->data)) break; ignored = ignored->next; } @@ -588,7 +588,7 @@ char tmp[BUF_LONG]; while (names) { - if (!strcasecmp((char *)names->data, old)) { + if (!g_strcasecmp((char *)names->data, old)) { char *tmp2 = names->data; b->in_room = g_list_remove(b->in_room, names->data); while (items) { @@ -612,7 +612,7 @@ pos = g_list_index(b->in_room, name); while (ignored) { - if (!strcasecmp(old, ignored->data)) + if (!g_strcasecmp(old, ignored->data)) break; ignored = ignored->next; } @@ -648,7 +648,7 @@ plugin_event(event_chat_buddy_leave, b->gc, b->name, buddy, 0); while (names) { - if (!strcasecmp((char *)names->data, buddy)) { + if (!g_strcasecmp((char *)names->data, buddy)) { char *tmp = names->data; b->in_room = g_list_remove(b->in_room, names->data); while (items) { @@ -722,7 +722,7 @@ ignored = b->ignored; while (ignored) { - if (!strcasecmp(name, ignored->data)) + if (!g_strcasecmp(name, ignored->data)) break; ignored = ignored->next; }