summaryrefslogtreecommitdiff
path: root/src/select/properties/text_align.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-09-04 14:56:51 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-09-04 14:56:51 +0100
commit2fcb157f28b152ba32e89baddbd811b0d6e76b79 (patch)
tree30f96332ac7993ff4acf88b4892f922a80ddd393 /src/select/properties/text_align.c
parent2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff)
downloadlibcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz
libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2
Strip trailing whitespace.
Diffstat (limited to 'src/select/properties/text_align.c')
-rw-r--r--src/select/properties/text_align.c8
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 ||