summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2014-01-08 16:01:45 +0000
committerMartin Owens <doctormo@gmail.com>2014-01-08 16:01:45 +0000
commit4ee20736b036d231f0a87a825967ad4ed6ee0aa0 (patch)
tree63f9ef6b4a2181900724f68c4434380bd80b737e /src
parentpot-file update (diff)
downloadinkscape-4ee20736b036d231f0a87a825967ad4ed6ee0aa0.tar.gz
inkscape-4ee20736b036d231f0a87a825967ad4ed6ee0aa0.zip
Language pseudo class should be case-insenstivie
Fixed bugs: - https://launchpad.net/bugs/1267118 (bzr r12887)
Diffstat (limited to 'src')
-rw-r--r--src/libcroco/cr-sel-eng.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcroco/cr-sel-eng.c b/src/libcroco/cr-sel-eng.c
index 5bc58a96c..77bf5b177 100644
--- a/src/libcroco/cr-sel-eng.c
+++ b/src/libcroco/cr-sel-eng.c
@@ -150,9 +150,7 @@ lang_pseudo_class_handler (CRSelEng *const a_this,
for (; node; node = get_next_parent_element_node (node_iface, node)) {
char *val = node_iface->getProp (node, "lang");
if (val) {
- if (!strqcmp (val,
- a_sel->content.pseudo->extra->stryng->str,
- a_sel->content.pseudo->extra->stryng->len)) {
+ if (!strcasecmp(val, a_sel->content.pseudo->extra->stryng->str)) {
result = TRUE;
break;
}