X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fascii.c;fp=src%2Foutput%2Fascii.c;h=a2915ee8f7c6fbedde5a1d88b89d2bd032b2770b;hb=bf3af6fb69dc94a6b3010e11e5d359e9e4abd5ba;hp=3548844693d09380dbfbe73a5ac696b3595b88d9;hpb=d2ee46757c7602fb0d6827136fdb00af1140e2e1;p=pspp diff --git a/src/output/ascii.c b/src/output/ascii.c index 3548844693..a2915ee8f7 100644 --- a/src/output/ascii.c +++ b/src/output/ascii.c @@ -461,8 +461,7 @@ ascii_output_table_item (struct ascii_driver *a, if (a->file == NULL && !ascii_open_page (a)) return; - p = render_pager_create (render_page_create (¶ms, table_item_get_table ( - table_item))); + p = render_pager_create (¶ms, table_item); while (render_pager_has_next (p)) { int used; @@ -942,7 +941,6 @@ ascii_layout_subtable (struct ascii_driver *a, int bb[TABLE_N_AXES][2], int clip[TABLE_N_AXES][2] UNUSED, int *widthp) { - const struct table *table = contents->table; struct render_params params; struct render_pager *p; int r[TABLE_N_AXES][2]; @@ -966,7 +964,7 @@ ascii_layout_subtable (struct ascii_driver *a, params.line_widths[V][i] = width; } - p = render_pager_create (render_page_create (¶ms, table)); + p = render_pager_create (¶ms, contents->table); width = render_pager_get_size (p, TABLE_HORZ); height = render_pager_get_size (p, TABLE_VERT);