X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable.c;h=b7afb8f81f24fe4542bedbd6f9e484302de1f3cf;hb=d3fef25674baf4f4e25502f257c680b5090535c6;hp=5dc5651fd940c0b86c5d9d6d38d5e5408fb2646f;hpb=f1db96caae465cb7daaf6efbe69ae17069ea1198;p=pspp diff --git a/src/output/table.c b/src/output/table.c index 5dc5651fd9..b7afb8f81f 100644 --- a/src/output/table.c +++ b/src/output/table.c @@ -321,6 +321,7 @@ table_string_get_cell (const struct table *ts_, int x UNUSED, int y UNUSED, cell->inline_contents.options = ts->options; cell->inline_contents.text = ts->string; cell->inline_contents.table = NULL; + cell->inline_contents.n_footnotes = 0; cell->n_contents = 1; cell->destructor = NULL; } @@ -398,6 +399,7 @@ table_nested_get_cell (const struct table *tn_, int x UNUSED, int y UNUSED, cell->inline_contents.options = TAB_LEFT; cell->inline_contents.text = NULL; cell->inline_contents.table = tn->inner; + cell->inline_contents.n_footnotes = 0; cell->n_contents = 1; cell->destructor = NULL; }