X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable.c;h=09ed509e35bfac726be760d9e2210db17f89144e;hb=5ce9c6ba1502e623ec6723a8273da77e5858b8d4;hp=bf22d2da5af8809de3f2b5d3e7b51e8d6aab70c0;hpb=478f1bffcdec0b01391b8297e2df1a1f6aa7d4cf;p=pspp diff --git a/src/output/table.c b/src/output/table.c index bf22d2da5a..09ed509e35 100644 --- a/src/output/table.c +++ b/src/output/table.c @@ -527,12 +527,13 @@ table_get_cell (const struct table *t, int x, int y, struct table_cell *cell) else { const struct pivot_value *v = cc ? cc : &empty_value; + const struct pivot_value_ex *ex = pivot_value_ex (v); *cell = (struct table_cell) { .d = { [H] = { x, x + 1 }, [V] = { y, y + 1 } }, .options = opt, .value = v, - .font_style = v->font_style ? v->font_style : &style->font_style, - .cell_style = v->cell_style ? v->cell_style : &style->cell_style, + .font_style = ex->font_style ? ex->font_style : &style->font_style, + .cell_style = ex->cell_style ? ex->cell_style : &style->cell_style, }; }