summaryrefslogtreecommitdiff
path: root/include/libcss/select.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-05 01:27:43 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-05 01:27:43 +0000
commit643e9c543110e4ee8ec61b0e0c93c107ce8b5d77 (patch)
tree2d10952f8429d1a82eef0b4801382ab03b5236a1 /include/libcss/select.h
parent75008c1ad03a37bbd2d77c2f7d528aa8c54bda95 (diff)
downloadlibcss-643e9c543110e4ee8ec61b0e0c93c107ce8b5d77.tar.gz
libcss-643e9c543110e4ee8ec61b0e0c93c107ce8b5d77.tar.bz2
Turns out, we know the size of the styles block up-front.
svn path=/trunk/libcss/; revision=11214
Diffstat (limited to 'include/libcss/select.h')
-rw-r--r--include/libcss/select.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h
index 76c226b..9e77d68 100644
--- a/include/libcss/select.h
+++ b/include/libcss/select.h
@@ -45,7 +45,7 @@ typedef struct css_select_results {
* then no computed style will be created and
* the corresponding pointer will be set to NULL
*/
- css_computed_style *styles[];
+ css_computed_style *styles[CSS_PSEUDO_ELEMENT_COUNT];
} css_select_results;
typedef struct css_select_handler {