From 643e9c543110e4ee8ec61b0e0c93c107ce8b5d77 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 5 Jan 2011 01:27:43 +0000 Subject: Turns out, we know the size of the styles block up-front. svn path=/trunk/libcss/; revision=11214 --- include/libcss/select.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libcss') 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 { -- cgit v1.2.3