summaryrefslogtreecommitdiff
path: root/src/select/properties/voice_family.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/voice_family.c')
-rw-r--r--src/select/properties/voice_family.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/select/properties/voice_family.c b/src/select/properties/voice_family.c
index efe60b4..cc1833c 100644
--- a/src/select/properties/voice_family.c
+++ b/src/select/properties/voice_family.c
@@ -54,13 +54,13 @@ css_error 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 = state->result->alloc(voices,
+ temp = state->computed->alloc(voices,
(n_voices + 1) * sizeof(lwc_string *),
- state->result->pw);
+ state->computed->pw);
if (temp == NULL) {
if (voices != NULL) {
- state->result->alloc(voices, 0,
- state->result->pw);
+ state->computed->alloc(voices, 0,
+ state->computed->pw);
}
return CSS_NOMEM;
}
@@ -81,11 +81,11 @@ css_error cascade_voice_family(uint32_t opv, css_style *style,
if (n_voices > 0) {
lwc_string **temp;
- temp = state->result->alloc(voices,
+ temp = state->computed->alloc(voices,
(n_voices + 1) * sizeof(lwc_string *),
- state->result->pw);
+ state->computed->pw);
if (temp == NULL) {
- state->result->alloc(voices, 0, state->result->pw);
+ state->computed->alloc(voices, 0, state->computed->pw);
return CSS_NOMEM;
}
@@ -98,10 +98,10 @@ css_error cascade_voice_family(uint32_t opv, css_style *style,
isInherit(opv))) {
/** \todo voice-family */
if (n_voices > 0)
- state->result->alloc(voices, 0, state->result->pw);
+ state->computed->alloc(voices, 0, state->computed->pw);
} else {
if (n_voices > 0)
- state->result->alloc(voices, 0, state->result->pw);
+ state->computed->alloc(voices, 0, state->computed->pw);
}
return CSS_OK;