summaryrefslogtreecommitdiff
path: root/src/select/properties/font_size.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/font_size.c
parent2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff)
downloadlibcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz
libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2
Strip trailing whitespace.
Diffstat (limited to 'src/select/properties/font_size.c')
-rw-r--r--src/select/properties/font_size.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/properties/font_size.c b/src/select/properties/font_size.c
index 65fbb94..a0269be 100644
--- a/src/select/properties/font_size.c
+++ b/src/select/properties/font_size.c
@@ -14,7 +14,7 @@
#include "select/properties/properties.h"
#include "select/properties/helpers.h"
-css_error css__cascade_font_size(uint32_t opv, css_style *style,
+css_error css__cascade_font_size(uint32_t opv, css_style *style,
css_select_state *state)
{
uint16_t value = CSS_FONT_SIZE_INHERIT;
@@ -23,7 +23,7 @@ css_error css__cascade_font_size(uint32_t opv, css_style *style,
if (isInherit(opv) == false) {
switch (getValue(opv)) {
- case FONT_SIZE_DIMENSION:
+ case FONT_SIZE_DIMENSION:
value = CSS_FONT_SIZE_DIMENSION;
size = *((css_fixed *) style->bytecode);
@@ -75,13 +75,13 @@ css_error css__cascade_font_size(uint32_t opv, css_style *style,
css_error css__set_font_size_from_hint(const css_hint *hint,
css_computed_style *style)
{
- return set_font_size(style, hint->status,
+ return set_font_size(style, hint->status,
hint->data.length.value, hint->data.length.unit);
}
css_error css__initial_font_size(css_select_state *state)
{
- return set_font_size(state->computed, CSS_FONT_SIZE_MEDIUM,
+ return set_font_size(state->computed, CSS_FONT_SIZE_MEDIUM,
0, CSS_UNIT_PX);
}