From 80cfe125983eb126a9f8afd974196cf0bf347877 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 27 Mar 2010 16:10:57 +0000 Subject: Fix libcss to use new libwapcaplet behaviour. TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162 --- src/parse/important.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/parse/important.c') diff --git a/src/parse/important.c b/src/parse/important.c index 07ff1f6..5790122 100644 --- a/src/parse/important.c +++ b/src/parse/important.c @@ -44,8 +44,7 @@ css_error parse_important(css_language *c, return CSS_INVALID; } - if (lwc_context_string_caseless_isequal(c->sheet->dictionary, - token->idata, c->strings[IMPORTANT], + if (lwc_string_caseless_isequal(token->idata, c->strings[IMPORTANT], &match) == lwc_error_ok && match) { *result |= FLAG_IMPORTANT; } else { -- cgit v1.2.3