projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master into gtk3.
[pspp]
/
src
/
output
/
table-casereader.c
diff --git
a/src/output/table-casereader.c
b/src/output/table-casereader.c
index fa7498c849ac4dd4daced36a956ffc725362d078..5d5154ef40c691eb871ef548b91e6bcef2572d7f 100644
(file)
--- a/
src/output/table-casereader.c
+++ b/
src/output/table-casereader.c
@@
-38,7
+38,7
@@
static const struct table_class table_casereader_class;
static struct table_casereader *
table_casereader_cast (const struct table *table)
{
static struct table_casereader *
table_casereader_cast (const struct table *table)
{
- assert (table->
c
lass == &table_casereader_class);
+ assert (table->
k
lass == &table_casereader_class);
return UP_CAST (table, struct table_casereader, table);
}
return UP_CAST (table, struct table_casereader, table);
}
@@
-142,7
+142,10
@@
table_casereader_get_rule (const struct table *t, enum table_axis axis,
int x UNUSED, int y)
{
struct table_casereader *tc = table_casereader_cast (t);
int x UNUSED, int y)
{
struct table_casereader *tc = table_casereader_cast (t);
- return axis == TABLE_VERT && tc->heading != NULL && y == 1 ? TAL_1 : TAL_0;
+ if (axis == TABLE_VERT)
+ return tc->heading != NULL && y == 1 ? TAL_1 : TAL_0;
+ else
+ return TAL_GAP;
}
static const struct table_class table_casereader_class =
}
static const struct table_class table_casereader_class =