Mercurial > pidgin
changeset 19241:0651af21ceee
merge of '8a35b0d36dc6b8c63f5f5e8f499be65866ffcf39'
and 'e9490223467e841836eda77692ace171fd4f632e'
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Tue, 14 Aug 2007 02:34:50 +0000 |
parents | abb5b6ec99a6 (diff) 258a721f6ae9 (current diff) |
children | f60192409e7f |
files | pidgin/sounds/Makefile.am pidgin/sounds/Makefile.mingw pidgin/sounds/alert.wav pidgin/sounds/login.wav pidgin/sounds/logout.wav pidgin/sounds/receive.wav pidgin/sounds/send.wav |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Mon Aug 13 06:00:06 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Tue Aug 14 02:34:50 2007 +0000 @@ -1252,19 +1252,19 @@ * Currently, the 's' value will be overwritten when b/i/u is nested * within another one, and only the inner-most formatting will be * applied to the text. */ - if (!strcmp(root->name, "root")) { + if (!purple_utf8_strcasecmp(root->name, "root")) { *begin = g_strdup(""); *end = g_strdup(""); - } else if (!strcmp(root->name, "b") || !strcmp(root->name, "B")) { + } else if (!purple_utf8_strcasecmp(root->name, "b")) { *begin = g_strdup_printf("<f s='%d'>", MSIM_TEXT_BOLD); *end = g_strdup("</f>"); - } else if (!strcmp(root->name, "i") || !strcmp(root->name, "I")) { + } else if (!purple_utf8_strcasecmp(root->name, "i")) { *begin = g_strdup_printf("<f s='%d'>", MSIM_TEXT_ITALIC); *end = g_strdup("</f>"); - } else if (!strcmp(root->name, "u") || !strcmp(root->name, "U")) { + } else if (!purple_utf8_strcasecmp(root->name, "u")) { *begin = g_strdup_printf("<f s='%d'>", MSIM_TEXT_UNDERLINE); *end = g_strdup("</f>"); - } else if (!strcmp(root->name, "a") || !strcmp(root->name, "A")) { + } else if (!purple_utf8_strcasecmp(root->name, "a")) { const gchar *href, *link_text; href = xmlnode_get_attrib(root, "href"); @@ -1300,7 +1300,7 @@ root->child = NULL; *end = g_strdup(""); - } else if (!strcmp(root->name, "font") || !strcmp(root->name, "FONT")) { + } else if (!purple_utf8_strcasecmp(root->name, "font")) { const gchar *size; const gchar *face;