X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fhtml.c;h=dfa524a7cfd5f60cd6120023283d1106c635c35a;hb=1fc57714adfb36009ad22e2a164263b90548bf11;hp=3a8be8eb0b0e2cbf8db200b73bf5099244f5c2c3;hpb=5cc88fdabd7f3bd107052538f9f1b961f4914385;p=pspp-builds.git diff --git a/src/output/html.c b/src/output/html.c index 3a8be8eb..dfa524a7 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -293,7 +293,7 @@ output_tab_table (struct outp_driver *this, struct tab_table *t) { struct html_driver_ext *x = this->ext; - if (t->nr == 1 && t->nc == 1) + if (tab_nr (t) == 1 && tab_nc (t) == 1) { fputs ("
", x->file); html_put_cell_contents (this, t->ct[0], *t->cc); @@ -315,18 +315,18 @@ output_tab_table (struct outp_driver *this, struct tab_table *t) int r; unsigned char *ct = t->ct; - for (r = 0; r < t->nr; r++) + for (r = 0; r < tab_nr (t); r++) { int c; fputs ("