Author: rjw
Date: Tue Aug 15 20:33:42 2006
New Revision: 2852
URL:
http://svn.semichrome.net?rev=2852&view=rev
Log:
Fix accidental press of delete :-s
Modified:
trunk/netsurf/css/ruleset.c
Modified: trunk/netsurf/css/ruleset.c
URL:
http://svn.semichrome.net/trunk/netsurf/css/ruleset.c?rev=2852&r1=285...
==============================================================================
--- trunk/netsurf/css/ruleset.c (original)
+++ trunk/netsurf/css/ruleset.c Tue Aug 15 20:33:42 2006
@@ -625,7 +625,7 @@
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;