X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable.c;h=9a90c61b48807620f76e853cc9e8a1d8876b8758;hb=66a8687fbbe219b8c5b8d4dcd7aa2249fd55f5cf;hp=7f37479984274dc357d50da44f03423d2ea891bd;hpb=0b676d85cb983fa0e719de9300935d2c8b549b14;p=pspp diff --git a/src/output/table.c b/src/output/table.c index 7f37479984..9a90c61b48 100644 --- a/src/output/table.c +++ b/src/output/table.c @@ -140,6 +140,14 @@ table_get_cell (const struct table *table, int x, int y, { assert (x >= 0 && x < table->n[TABLE_HORZ]); assert (y >= 0 && y < table->n[TABLE_VERT]); + + static const struct cell_style default_style = + { + .fg = { 0, 0, 0 }, + .bg = { 255, 255, 255 }, + }; + cell->style = &default_style; + table->klass->get_cell (table, x, y, cell); }