X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fspv%2Fspv.c;h=2e5dd07b2bf426a2694d91a1afd5d3558ee9e56b;hb=5ce9c6ba1502e623ec6723a8273da77e5858b8d4;hp=9b0fe17a21ea4878ccac8e1be290b6003f3d1e35;hpb=478f1bffcdec0b01391b8297e2df1a1f6aa7d4cf;p=pspp diff --git a/src/output/spv/spv.c b/src/output/spv/spv.c index 9b0fe17a21..2e5dd07b2b 100644 --- a/src/output/spv/spv.c +++ b/src/output/spv/spv.c @@ -282,9 +282,9 @@ decode_container_text (const struct spvsx_container_text *ct) { struct font_style *font_style = xmalloc (sizeof *font_style); char *text = decode_embedded_html (ct->html->node_.raw, font_style); + struct pivot_value *value = xmalloc (sizeof *value); *value = (struct pivot_value) { - .font_style = font_style, .text = { .type = PIVOT_VALUE_TEXT, .local = text, @@ -293,6 +293,7 @@ decode_container_text (const struct spvsx_container_text *ct) .user_provided = true, }, }; + pivot_value_ex_rw (value)->font_style = font_style; struct output_item *item = text_item_create_value (TEXT_ITEM_LOG, value, NULL);