summaryrefslogtreecommitdiff
path: root/src/select/properties/counter_reset.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-11-19 14:55:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-11-19 14:55:15 +0000
commitd986c1c356aba25bdf0b977133b387fbdad5aa90 (patch)
treedc89f39bb687a2fd92042b5c8c824eda4c714c79 /src/select/properties/counter_reset.c
parent2786e780f20eb45f3ee3f18585d23555a06a1431 (diff)
parent216d0931dd56af5043218ccdf3dd99d5c6216979 (diff)
downloadlibcss-d986c1c356aba25bdf0b977133b387fbdad5aa90.tar.gz
libcss-d986c1c356aba25bdf0b977133b387fbdad5aa90.tar.bz2
Merge branch 'tlsa/shared-styles'
Diffstat (limited to 'src/select/properties/counter_reset.c')
-rw-r--r--src/select/properties/counter_reset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/select/properties/counter_reset.c b/src/select/properties/counter_reset.c
index ddf54aa..05559f5 100644
--- a/src/select/properties/counter_reset.c
+++ b/src/select/properties/counter_reset.c
@@ -55,13 +55,13 @@ css_error css__compose_counter_reset(const css_computed_style *parent,
const css_computed_counter *items = NULL;
uint8_t type = get_counter_reset(child, &items);
- if ((child->uncommon == NULL && parent->uncommon != NULL) ||
+ if ((child->i.uncommon == NULL && parent->i.uncommon != NULL) ||
type == CSS_COUNTER_RESET_INHERIT ||
- (child->uncommon != NULL && result != child)) {
+ (child->i.uncommon != NULL && result != child)) {
size_t n_items = 0;
css_computed_counter *copy = NULL;
- if ((child->uncommon == NULL && parent->uncommon != NULL) ||
+ if ((child->i.uncommon == NULL && parent->i.uncommon != NULL) ||
type == CSS_COUNTER_RESET_INHERIT) {
type = get_counter_reset(parent, &items);
}