summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/properties/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/properties/utils.c b/src/parse/properties/utils.c
index 3cd3cb2..b0ca311 100644
--- a/src/parse/properties/utils.c
+++ b/src/parse/properties/utils.c
@@ -54,7 +54,7 @@ css_error parse_colour_specifier(css_language *c,
}
if (token->type == CSS_TOKEN_IDENT) {
- error = parse_named_colour(c, token->idata, result);
+ error = parse_named_colour(c, token->ilower, result);
if (error != CSS_OK && c->sheet->quirks_allowed) {
error = parse_hash_colour(token->idata, result);
if (error == CSS_OK)