projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pivot-table: Allow all pivot_value formatting functions to use defaults.
[pspp]
/
src
/
output
/
output-item.c
diff --git
a/src/output/output-item.c
b/src/output/output-item.c
index a4328b52e99725be3d9d568db3c31f4adfc8495b..6b7c11121c588d998e09797d569122ed1fe565fb 100644
(file)
--- a/
src/output/output-item.c
+++ b/
src/output/output-item.c
@@
-366,7
+366,7
@@
output_item_dump (const struct output_item *item, int indentation)
case OUTPUT_ITEM_TEXT:
{
case OUTPUT_ITEM_TEXT:
{
- char *s = pivot_value_to_string
_defaults (item->text.content
);
+ char *s = pivot_value_to_string
(item->text.content, NULL
);
printf ("text %s \"%s\"\n",
text_item_subtype_to_string (item->text.subtype), s);
free (s);
printf ("text %s \"%s\"\n",
text_item_subtype_to_string (item->text.subtype), s);
free (s);
@@
-625,7
+625,7
@@
char *
text_item_get_plain_text (const struct output_item *item)
{
assert (item->type == OUTPUT_ITEM_TEXT);
text_item_get_plain_text (const struct output_item *item)
{
assert (item->type == OUTPUT_ITEM_TEXT);
- return pivot_value_to_string
_defaults (item->text.content
);
+ return pivot_value_to_string
(item->text.content, NULL
);
}
static bool
}
static bool