summaryrefslogtreecommitdiff
path: root/src/select/computed.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-23 01:02:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-23 01:02:59 +0000
commit570510b0762d9bb02f9dc64497c8802bc2a1649d (patch)
tree21bdec088c22894e77e4adbca99a2db8b894202d /src/select/computed.c
parentdcc0deb8e5cc5bf817d60a11b19e226a1bc22bd1 (diff)
downloadlibcss-570510b0762d9bb02f9dc64497c8802bc2a1649d.tar.gz
libcss-570510b0762d9bb02f9dc64497c8802bc2a1649d.tar.bz2
Completely change the approach used for presentational hints.
This one stands a chance of working sanely. While this compiles, please don't expect it to link. svn path=/trunk/libcss/; revision=6820
Diffstat (limited to 'src/select/computed.c')
-rw-r--r--src/select/computed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index e5605da..7829b23 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -110,7 +110,7 @@ css_error css_computed_style_compose(const css_computed_style *parent,
size_t i;
/* Iterate through the properties */
- for (i = 0; i < N_OPCODES; i++) {
+ for (i = 0; i < CSS_N_PROPERTIES; i++) {
/* Skip any in extension blocks if the block does not exist */
if (prop_dispatch[i].group == GROUP_UNCOMMON &&
parent->uncommon == NULL &&