X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable-casereader.c;h=e1b75ac5da28564684e1dca3f9ac0d53c24e2df1;hb=a7a300e7d9963ce9a26fd87e4db922ed74111731;hp=018fa6328e546bee6c0000b9d5b8397dda1212de;hpb=e6bb779b866f297b736a7f93a0c8aa741131726f;p=pspp diff --git a/src/output/table-casereader.c b/src/output/table-casereader.c index 018fa6328e..e1b75ac5da 100644 --- a/src/output/table-casereader.c +++ b/src/output/table-casereader.c @@ -106,11 +106,17 @@ table_casereader_get_cell (const struct table *t, int x, int y, struct ccase *c; char *s; + static const struct area_style style = { + AREA_STYLE_INITIALIZER__, + .cell_style.halign = TABLE_HALIGN_RIGHT + }; + cell->d[TABLE_HORZ][0] = x; cell->d[TABLE_HORZ][1] = x + 1; cell->d[TABLE_VERT][0] = y; cell->d[TABLE_VERT][1] = y + 1; - cell->options = TAB_RIGHT; + cell->style = &style; + cell->options = 0; cell->n_footnotes = 0; if (tc->heading != NULL) {