aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 19b9f371..84529861 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -602,9 +602,9 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props) {
attrs->x_link = p->value.intVal;
break;
case PROPERTY_X_LANG:
- attrs->x_lang[0] = tolower (p->value.strVal[0]);
+ attrs->x_lang[0] = D_ASCII_TOLOWER(p->value.strVal[0]);
if (attrs->x_lang[0])
- attrs->x_lang[1] = tolower (p->value.strVal[1]);
+ attrs->x_lang[1] = D_ASCII_TOLOWER(p->value.strVal[1]);
else
attrs->x_lang[1] = 0;
break;