From 2fcb157f28b152ba32e89baddbd811b0d6e76b79 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 4 Sep 2017 14:56:51 +0100 Subject: Strip trailing whitespace. --- src/select/properties/text_align.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/select/properties/text_align.c') 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 || -- cgit v1.2.3