X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable-casereader.c;h=672dd87f49bc74200400fff3d4a978547af3f3b1;hb=ac5fc2c85d86f1a14cdea0a215666ab39b44a1dc;hp=fa7498c849ac4dd4daced36a956ffc725362d078;hpb=02c2f23a15c9d7b47d17eaf6aeda216120da5374;p=pspp-builds.git diff --git a/src/output/table-casereader.c b/src/output/table-casereader.c index fa7498c8..672dd87f 100644 --- a/src/output/table-casereader.c +++ b/src/output/table-casereader.c @@ -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); - 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 =