diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/ruleset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/css/ruleset.c b/css/ruleset.c index 0f649d137..7a51faa27 100644 --- a/css/ruleset.c +++ b/css/ruleset.c @@ -625,7 +625,7 @@ int parse_length(struct css_length * const length, if ((v->type != CSS_NODE_DIMENSION) && (v->type != CSS_NODE_NUMBER)) return 1; num_length = strspn(v->data, "0123456789+-."); - if (v->type == CSS_NODE_DIMENSION) + if (v->type == CSS_NODE_DIMENSION) { u = css_unit_parse(v->data + num_length, v->data_length - num_length); if (u == CSS_UNIT_UNKNOWN) { return 1; |