diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-09-04 14:56:51 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-09-04 14:56:51 +0100 |
commit | 2fcb157f28b152ba32e89baddbd811b0d6e76b79 (patch) | |
tree | 30f96332ac7993ff4acf88b4892f922a80ddd393 /src/select/properties/clip.c | |
parent | 2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff) | |
download | libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2 |
Strip trailing whitespace.
Diffstat (limited to 'src/select/properties/clip.c')
-rw-r--r-- | src/select/properties/clip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/clip.c b/src/select/properties/clip.c index cc39d99..fe1dd87 100644 --- a/src/select/properties/clip.c +++ b/src/select/properties/clip.c @@ -14,11 +14,11 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error css__cascade_clip(uint32_t opv, css_style *style, +css_error css__cascade_clip(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = CSS_CLIP_INHERIT; - css_computed_clip_rect rect = { 0, 0, 0, 0, + css_computed_clip_rect rect = { 0, 0, 0, 0, CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX, false, false, false, false }; @@ -78,7 +78,7 @@ css_error css__cascade_clip(uint32_t opv, css_style *style, return CSS_OK; } -css_error css__set_clip_from_hint(const css_hint *hint, +css_error css__set_clip_from_hint(const css_hint *hint, css_computed_style *style) { return set_clip(style, hint->status, hint->data.clip); @@ -86,7 +86,7 @@ css_error css__set_clip_from_hint(const css_hint *hint, css_error css__initial_clip(css_select_state *state) { - css_computed_clip_rect rect = { 0, 0, 0, 0, + css_computed_clip_rect rect = { 0, 0, 0, 0, CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX, false, false, false, false }; @@ -97,7 +97,7 @@ css_error css__compose_clip(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { - css_computed_clip_rect rect = { 0, 0, 0, 0, + css_computed_clip_rect rect = { 0, 0, 0, 0, CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX, false, false, false, false }; uint8_t type = get_clip(child, &rect); |