From 8a85bc200620810126a686f9b7eab8090509d414 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 31 Dec 2018 23:13:12 -0800 Subject: [PATCH] pivot-output: Fix argument order that made lots of weird rotated headings. Fixes: 5cab4cf3322f ("output: Introduce pivot tables.") --- src/output/pivot-output.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/output/pivot-output.c b/src/output/pivot-output.c index b1bfa31fd1..d6925ceb83 100644 --- a/src/output/pivot-output.c +++ b/src/output/pivot-output.c @@ -370,8 +370,8 @@ pivot_table_submit_layer (const struct pivot_table *st, &st->areas[PIVOT_AREA_COLUMN_LABELS], PIVOT_AREA_COLUMN_LABELS, &st->areas[PIVOT_AREA_CORNER], footnotes, - st->rotate_inner_column_labels, - st->show_values, st->show_variables, false); + st->show_values, st->show_variables, + st->rotate_inner_column_labels, false); compose_headings (table, &st->axes[PIVOT_AXIS_ROW], V, &st->axes[PIVOT_AXIS_COLUMN], @@ -384,8 +384,8 @@ pivot_table_submit_layer (const struct pivot_table *st, &st->areas[PIVOT_AREA_ROW_LABELS], PIVOT_AREA_ROW_LABELS, &st->areas[PIVOT_AREA_CORNER], footnotes, - false, st->show_values, st->show_variables, - st->rotate_outer_row_labels); + st->show_values, st->show_variables, + false, st->rotate_outer_row_labels); size_t *dindexes = xcalloc (st->n_dimensions, sizeof *dindexes); size_t y = 0; -- 2.30.2