diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-07 00:20:35 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-07 00:20:35 +0000 |
commit | 86263d609fbc16711b997eb4ae115020d1892f41 (patch) | |
tree | 14cd6ba9742942721e4830f87d5864e558a5b659 /include/libcss | |
parent | 107cffb221167bebf8ddf8554c6fdb05b35792b6 (diff) | |
download | libcss-86263d609fbc16711b997eb4ae115020d1892f41.tar.gz libcss-86263d609fbc16711b997eb4ae115020d1892f41.tar.bz2 |
It probably helps to ensure the allocation routine is accessible.
Minor fix for an accessor.
svn path=/trunk/libcss/; revision=6387
Diffstat (limited to 'include/libcss')
-rw-r--r-- | include/libcss/computed.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |