X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fspv%2Fspv-writer.c;h=58cb308fadbaa1e563d3cc995dcc08a2e002692f;hb=d55fbbb4fda554d02c93dd46c6fa66128060e6f0;hp=c8cb28e3750bb12b45556f67d21b37b2e3a20609;hpb=f5ad0a140f581d9f72e2c498d294af76032b1a9c;p=pspp diff --git a/src/output/spv/spv-writer.c b/src/output/spv/spv-writer.c index c8cb28e375..58cb308fad 100644 --- a/src/output/spv/spv-writer.c +++ b/src/output/spv/spv-writer.c @@ -857,9 +857,10 @@ put_light_table (struct buf *buf, uint64_t table_id, put_u32 (buf, table->n_footnotes); for (size_t i = 0; i < table->n_footnotes; i++) { - put_value (buf, table->footnotes[i]->content); - put_optional_value (buf, table->footnotes[i]->marker); - put_u32 (buf, 0); + const struct pivot_footnote *f = table->footnotes[i]; + put_value (buf, f->content); + put_optional_value (buf, f->marker); + put_u32 (buf, f->show ? 1 : -1); } /* Areas. */