From 86263d609fbc16711b997eb4ae115020d1892f41 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 7 Feb 2009 00:20:35 +0000 Subject: It probably helps to ensure the allocation routine is accessible. Minor fix for an accessor. svn path=/trunk/libcss/; revision=6387 --- include/libcss/computed.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libcss/computed.h b/include/libcss/computed.h index fb9f578..f47c523 100644 --- a/include/libcss/computed.h +++ b/include/libcss/computed.h @@ -289,6 +289,9 @@ struct css_computed_style { css_computed_uncommon *uncommon;/**< Uncommon properties */ css_computed_aural *aural; /**< Aural properties */ css_computed_page *page; /**< Page properties */ + + css_alloc alloc; + void *pw; }; css_error css_computed_style_create(css_alloc alloc, void *pw, @@ -1681,7 +1684,7 @@ static inline uint8_t css_computed_background_position( *hunit = bits1 >> 4; *vlength = style->background_position[1]; - *hunit = bits1 & 0xf; + *vunit = bits1 & 0xf; } return bits; -- cgit v1.2.3