output: Add support for colors for rules.
[pspp] / src / output / table-stomp.c
index e9df26a95f6bfcf28593a2df30d1d7c9e97b9493..075a2d2ba21de07d634ae8043e34805645a26a7a 100644 (file)
@@ -146,12 +146,14 @@ table_stomp_get_cell (const struct table *t, int x, int y UNUSED,
 
 static int
 table_stomp_get_rule (const struct table *t,
-                      enum table_axis axis, int x, int y)
+                      enum table_axis axis, int x, int y,
+                      struct cell_color *color)
 {
   struct table_stomp *ts = table_stomp_cast (t);
 
   return table_get_rule (ts->subtable, axis, x,
-                         axis == H || y == 0 ? y : ts->subtable->n[V]);
+                         axis == H || y == 0 ? y : ts->subtable->n[V],
+                         color);
 }
 
 static const struct table_class table_stomp_class =