aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-09-15 17:43:33 +0000
committercorvid <corvid@lavabit.com>2012-09-15 17:43:33 +0000
commit39f56de4ffa9c1fb9c25937ca53690192dfae326 (patch)
tree71a173460b2a90b14eb16779dadac549fc3bbd21 /src/styleengine.cc
parent6140df97cab8a9d8b1a8aae0e669f0e0e53e201b (diff)
use D_ASCII_TOLOWER
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;