From 160b31fc121ae69b7f9a23d20701e16b74af062c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 27 Jun 2009 16:52:41 +0000 Subject: Fix comma separated list parsing svn path=/trunk/libcss/; revision=8067 --- src/parse/properties/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/parse') diff --git a/src/parse/properties/utils.c b/src/parse/properties/utils.c index c98bbac..3cd3cb2 100644 --- a/src/parse/properties/utils.c +++ b/src/parse/properties/utils.c @@ -777,7 +777,8 @@ css_error comma_list_to_bytecode(css_language *c, * from the name we already have */ lerror = lwc_context_intern( c->sheet->dictionary, - (char *) buf, len, &newname); + (char *) buf, p - buf, + &newname); if (lerror != lwc_error_ok) { error = css_error_from_lwc_error( lerror); -- cgit v1.2.3