X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable-casereader.c;h=672dd87f49bc74200400fff3d4a978547af3f3b1;hb=b961c772eaaead1cea1c2bd892089546e0e3f471;hp=4a1452c0e91eea776b2eb4af75c57f4b2c53bdb8;hpb=d0b91eae59319ab2756d0d43b9cb15eb9cd3c234;p=pspp diff --git a/src/output/table-casereader.c b/src/output/table-casereader.c index 4a1452c0e9..672dd87f49 100644 --- a/src/output/table-casereader.c +++ b/src/output/table-casereader.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,12 +16,12 @@ #include -#include +#include "output/table-provider.h" -#include -#include -#include -#include +#include "data/casereader.h" +#include "data/data-out.h" +#include "data/format.h" +#include "libpspp/i18n.h" #include "gl/xalloc.h" @@ -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 =