It was too confusing when output tables contained **** because of weight
variables with narrow widths.
Recently reported by Andreas Hammer. I've also noticed the same thing
myself.
format for the dictionary whose data or statistics are being put into
TABLE. */
void
-pivot_table_set_weight_format (struct pivot_table *table,
- const struct fmt_spec wfmt)
+pivot_table_set_weight_format (struct pivot_table *table, struct fmt_spec wfmt)
{
+ wfmt.w = 40;
table->weight_format = wfmt;
}
/* Format of PIVOT_RC_COUNT cells. */
void pivot_table_set_weight_var (struct pivot_table *,
const struct variable *);
-void pivot_table_set_weight_format (struct pivot_table *,
- const struct fmt_spec);
+void pivot_table_set_weight_format (struct pivot_table *, struct fmt_spec);
/* Query. */
bool pivot_table_is_empty (const struct pivot_table *);