diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-03-07 21:34:23 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-11-19 14:30:07 +0000 |
commit | 70411030b0c35e2886fe29eef0fb832f259190b8 (patch) | |
tree | fde14bb2e949c343f8d578561810142d8691c896 /src/select/properties/cursor.c | |
parent | 2786e780f20eb45f3ee3f18585d23555a06a1431 (diff) | |
download | libcss-70411030b0c35e2886fe29eef0fb832f259190b8.tar.gz libcss-70411030b0c35e2886fe29eef0fb832f259190b8.tar.bz2 |
Move trivially compared parts of computed styles to sub-structures.
Diffstat (limited to 'src/select/properties/cursor.c')
-rw-r--r-- | src/select/properties/cursor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/select/properties/cursor.c b/src/select/properties/cursor.c index a77d21b..1ca497f 100644 --- a/src/select/properties/cursor.c +++ b/src/select/properties/cursor.c @@ -172,13 +172,13 @@ css_error css__compose_cursor(const css_computed_style *parent, lwc_string **urls = NULL; uint8_t type = get_cursor(child, &urls); - if ((child->uncommon == NULL && parent->uncommon != NULL) || + if ((child->i.uncommon == NULL && parent->i.uncommon != NULL) || type == CSS_CURSOR_INHERIT || - (child->uncommon != NULL && result != child)) { + (child->i.uncommon != NULL && result != child)) { size_t n_urls = 0; lwc_string **copy = NULL; - if ((child->uncommon == NULL && parent->uncommon != NULL) || + if ((child->i.uncommon == NULL && parent->i.uncommon != NULL) || type == CSS_CURSOR_INHERIT) { type = get_cursor(parent, &urls); } |