diff -r 7991a8286ca9 -r 998845231176 libpurple/protocols/myspace/myspace.c
--- a/libpurple/protocols/myspace/myspace.c Mon Aug 13 05:59:24 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.c Tue Aug 14 02:33:01 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("", MSIM_TEXT_BOLD);
*end = g_strdup("");
- } else if (!strcmp(root->name, "i") || !strcmp(root->name, "I")) {
+ } else if (!purple_utf8_strcasecmp(root->name, "i")) {
*begin = g_strdup_printf("", MSIM_TEXT_ITALIC);
*end = g_strdup("");
- } else if (!strcmp(root->name, "u") || !strcmp(root->name, "U")) {
+ } else if (!purple_utf8_strcasecmp(root->name, "u")) {
*begin = g_strdup_printf("", MSIM_TEXT_UNDERLINE);
*end = g_strdup("");
- } 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;