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/voice_family.c | |
parent | 2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff) | |
download | libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2 |
Strip trailing whitespace.
Diffstat (limited to 'src/select/properties/voice_family.c')
-rw-r--r-- | src/select/properties/voice_family.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/voice_family.c b/src/select/properties/voice_family.c index 5c70d1e..b370a2b 100644 --- a/src/select/properties/voice_family.c +++ b/src/select/properties/voice_family.c @@ -14,7 +14,7 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error css__cascade_voice_family(uint32_t opv, css_style *style, +css_error css__cascade_voice_family(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = 0; @@ -55,7 +55,7 @@ css_error css__cascade_voice_family(uint32_t opv, css_style *style, * first generic-family are ignored. */ /** \todo Do this at bytecode generation time? */ if (value == 0 && voice != NULL) { - temp = realloc(voices, + temp = realloc(voices, (n_voices + 1) * sizeof(lwc_string *)); if (temp == NULL) { if (voices != NULL) { |