projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Add support for colors for rules.
[pspp]
/
src
/
output
/
table-stomp.c
diff --git
a/src/output/table-stomp.c
b/src/output/table-stomp.c
index e9df26a95f6bfcf28593a2df30d1d7c9e97b9493..075a2d2ba21de07d634ae8043e34805645a26a7a 100644
(file)
--- a/
src/output/table-stomp.c
+++ b/
src/output/table-stomp.c
@@
-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,
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,
{
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 =
}
static const struct table_class table_stomp_class =