summaryrefslogtreecommitdiff
path: root/src/select/properties/font_family.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/font_family.c')
-rw-r--r--src/select/properties/font_family.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/font_family.c b/src/select/properties/font_family.c
index f853fcc..30e746c 100644
--- a/src/select/properties/font_family.c
+++ b/src/select/properties/font_family.c
@@ -21,7 +21,7 @@ css_error css__cascade_font_family(uint32_t opv, css_style *style,
lwc_string **fonts = NULL;
uint32_t n_fonts = 0;
- if (isInherit(opv) == false) {
+ if (hasFlagValue(opv) == false) {
uint32_t v = getValue(opv);
while (v != FONT_FAMILY_END) {
@@ -134,7 +134,7 @@ css_error css__cascade_font_family(uint32_t opv, css_style *style,
}
if (css__outranks_existing(getOpcode(opv), isImportant(opv), state,
- isInherit(opv))) {
+ getFlagValue(opv))) {
css_error error;
error = set_font_family(state->computed, value, fonts);