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/quotes.c | |
parent | 2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff) | |
download | libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2 |
Strip trailing whitespace.
Diffstat (limited to 'src/select/properties/quotes.c')
-rw-r--r-- | src/select/properties/quotes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/properties/quotes.c b/src/select/properties/quotes.c index 2dd6af4..4144d8e 100644 --- a/src/select/properties/quotes.c +++ b/src/select/properties/quotes.c @@ -14,7 +14,7 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error css__cascade_quotes(uint32_t opv, css_style *style, +css_error css__cascade_quotes(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = CSS_QUOTES_INHERIT; @@ -40,7 +40,7 @@ css_error css__cascade_quotes(uint32_t opv, css_style *style, &close); advance_bytecode(style, sizeof(css_code_t)); - temp = realloc(quotes, + temp = realloc(quotes, (n_quotes + 2) * sizeof(lwc_string *)); if (temp == NULL) { if (quotes != NULL) { @@ -96,7 +96,7 @@ css_error css__set_quotes_from_hint(const css_hint *hint, { lwc_string **item; css_error error; - + error = set_quotes(style, hint->status, hint->data.strings); for (item = hint->data.strings; @@ -149,7 +149,7 @@ css_error css__compose_quotes(const css_computed_style *parent, if (copy == NULL) return CSS_NOMEM; - memcpy(copy, quotes, (n_quotes + 1) * + memcpy(copy, quotes, (n_quotes + 1) * sizeof(lwc_string *)); } |