diff options
Diffstat (limited to 'src/select/properties/text_align.c')
-rw-r--r-- | src/select/properties/text_align.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/properties/text_align.c b/src/select/properties/text_align.c index 611fcd3..808107f 100644 --- a/src/select/properties/text_align.c +++ b/src/select/properties/text_align.c @@ -14,7 +14,7 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error css__cascade_text_align(uint32_t opv, css_style *style, +css_error css__cascade_text_align(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = CSS_TEXT_ALIGN_INHERIT; @@ -66,7 +66,7 @@ css_error css__initial_text_align(css_select_state *state) return set_text_align(state->computed, CSS_TEXT_ALIGN_DEFAULT); } -css_error css__compose_text_align(const css_computed_style *parent, +css_error css__compose_text_align(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { @@ -78,8 +78,8 @@ css_error css__compose_text_align(const css_computed_style *parent, /* This is purely for the benefit of HTML tables */ type = get_text_align(parent); - /* If the parent's text-align is a magical one, - * then reset to the default value. Otherwise, + /* If the parent's text-align is a magical one, + * then reset to the default value. Otherwise, * inherit as normal. */ if (type == CSS_TEXT_ALIGN_LIBCSS_LEFT || type == CSS_TEXT_ALIGN_LIBCSS_CENTER || |