projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Make table_item a pivot_table, table_cell a pivot_value.
[pspp]
/
utilities
/
pspp-output.c
diff --git
a/utilities/pspp-output.c
b/utilities/pspp-output.c
index deb2000432e74e6e3a1c605fa3083866dacd4a14..6e8c3323a868172b2df204580cae90a110cc66cc 100644
(file)
--- a/
utilities/pspp-output.c
+++ b/
utilities/pspp-output.c
@@
-148,9
+148,7
@@
print_item_directory (const struct spv_item *item)
if (type == SPV_ITEM_TABLE)
{
const struct pivot_table *table = spv_item_get_table (item);
if (type == SPV_ITEM_TABLE)
{
const struct pivot_table *table = spv_item_get_table (item);
- char *title = pivot_value_to_string (table->title,
- SETTINGS_VALUE_SHOW_DEFAULT,
- SETTINGS_VALUE_SHOW_DEFAULT);
+ char *title = pivot_value_to_string (table->title, table);
if (!label || strcmp (title, label))
printf (" title \"%s\"", title);
free (title);
if (!label || strcmp (title, label))
printf (" title \"%s\"", title);
free (title);