all repos — openbox @ 2db6cf513020179130bdf7b0ed570e3b962e5ad5

openbox fork - make it a bit more like ryudo

xml tags are case sensitive
Dana Jansens danakj@orodu.net
commit

2db6cf513020179130bdf7b0ed570e3b962e5ad5

parent

d6c45db8da203367d57ae380f9f4efe2a0cb9636

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M parser/parse.cparser/parse.c

@@ -160,7 +160,7 @@ xmlFreeDoc(*doc);

*doc = NULL; g_warning("%s is an empty document", path); } else { - if (xmlStrcasecmp((*root)->name, (const xmlChar*)rootname)) { + if (xmlStrcmp((*root)->name, (const xmlChar*)rootname)) { xmlFreeDoc(*doc); *doc = NULL; g_warning("Document %s is of wrong type. root node is "

@@ -183,7 +183,7 @@ xmlFreeDoc(*doc);

*doc = NULL; g_warning("Given memory is an empty document"); } else { - if (xmlStrcasecmp((*root)->name, (const xmlChar*)rootname)) { + if (xmlStrcmp((*root)->name, (const xmlChar*)rootname)) { xmlFreeDoc(*doc); *doc = NULL; g_warning("Document in given memory is of wrong type. root "

@@ -255,7 +255,7 @@

xmlNodePtr parse_find_node(const gchar *tag, xmlNodePtr node) { while (node) { - if (!xmlStrcasecmp(node->name, (const xmlChar*) tag)) + if (!xmlStrcmp(node->name, (const xmlChar*) tag)) return node; node = node->next; }