summaryrefslogtreecommitdiff
path: root/src/select/properties/azimuth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/azimuth.c')
-rw-r--r--src/select/properties/azimuth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/azimuth.c b/src/select/properties/azimuth.c
index d52110f..1d3e1c2 100644
--- a/src/select/properties/azimuth.c
+++ b/src/select/properties/azimuth.c
@@ -18,7 +18,7 @@ css_error css__cascade_azimuth(uint32_t opv, css_style *style,
css_fixed val = 0;
uint32_t unit = UNIT_DEG;
- if (isInherit(opv) == false) {
+ if (hasFlagValue(opv) == false) {
switch (getValue(opv) & ~AZIMUTH_BEHIND) {
case AZIMUTH_ANGLE:
val = *((css_fixed *) style->bytecode);
@@ -47,7 +47,7 @@ css_error css__cascade_azimuth(uint32_t opv, css_style *style,
unit = css__to_css_unit(unit);
if (css__outranks_existing(getOpcode(opv), isImportant(opv), state,
- isInherit(opv))) {
+ getFlagValue(opv))) {
/** \todo set computed azimuth */
}