From fdbb855a9c38524d9c8feefd38bd3a78d95e1788 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 15 Aug 2006 19:33:42 +0000 Subject: Fix accidental press of delete :-s svn path=/trunk/netsurf/; revision=2852 --- css/ruleset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'css') 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; -- cgit v1.2.3