output: Add support for colors for rules.
[pspp] / src / output / table-casereader.c
index 36f74f20c4b55c07309c102572efa3693b1da8e5..ecd85a1df469e21bb3033bc746e760742b811807 100644 (file)
@@ -142,13 +142,14 @@ table_casereader_get_cell (const struct table *t, int x, int y,
 
 static int
 table_casereader_get_rule (const struct table *t, enum table_axis axis,
-                           int x UNUSED, int y)
+                           int x UNUSED, int y,
+                           struct cell_color *color UNUSED)
 {
   struct table_casereader *tc = table_casereader_cast (t);
   if (axis == TABLE_VERT)
     return tc->heading != NULL && y == 1 ? TAL_1 : TAL_0;
   else
-    return TAL_GAP;
+    return TAL_0;
 }
 
 static const struct table_class table_casereader_class =