diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2010-03-27 16:10:57 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2010-03-27 16:10:57 +0000 |
commit | 80cfe125983eb126a9f8afd974196cf0bf347877 (patch) | |
tree | e6fe993a7ad2fc6859509b661d2d4f721e846e60 /src/parse/important.c | |
parent | 46e3a946d7b2f7d68f3753a37c6f68a732a36f01 (diff) | |
download | libcss-80cfe125983eb126a9f8afd974196cf0bf347877.tar.gz libcss-80cfe125983eb126a9f8afd974196cf0bf347877.tar.bz2 |
Fix libcss to use new libwapcaplet behaviour.
TODO: update the tests to include a refcounting proof
svn path=/trunk/libcss/; revision=10162
Diffstat (limited to 'src/parse/important.c')
-rw-r--r-- | src/parse/important.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |