summaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-17 18:07:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-17 18:07:42 +0000
commit6be9de70b8e6cd9427837cc6cae777356f1950ba (patch)
tree7efc786a7cc1f25662c0d5286444b11b3d948bd2 /src/stylesheet.c
parent8bccb05e6b8b0870fbbc5bab83c228f11d129caf (diff)
downloadlibcss-6be9de70b8e6cd9427837cc6cae777356f1950ba.tar.gz
libcss-6be9de70b8e6cd9427837cc6cae777356f1950ba.tar.bz2
Fix selector hash some more. It turns out that I'd forgotten how it was meant to work.
svn path=/trunk/libcss/; revision=8607
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r--src/stylesheet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index 9a5b9a0..7ec55b2 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -101,7 +101,8 @@ css_error css_stylesheet_create(css_language_level level,
return error;
}
- error = css_selector_hash_create(alloc, alloc_pw, &sheet->selectors);
+ error = css_selector_hash_create(dict, alloc, alloc_pw,
+ &sheet->selectors);
if (error != CSS_OK) {
css_language_destroy(sheet->parser_frontend);
css_parser_destroy(sheet->parser);