projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Move text_item and group_item usage closer to the SPV model.
[pspp]
/
src
/
output
/
tab.c
diff --git
a/src/output/tab.c
b/src/output/tab.c
index 19f7072dd0f23e49ef7d00b1c1e7b7a0a1b4ca66..df0a052234be98b1c89daf2167426c37557a5f5d 100644
(file)
--- a/
src/output/tab.c
+++ b/
src/output/tab.c
@@
-440,11
+440,9
@@
tab_cell_is_empty (const struct tab_table *table, int c, int r)
This function is obsolete. Please do not add new uses of it. Instead, use
a text_item (see output/text-item.h). */
void
This function is obsolete. Please do not add new uses of it. Instead, use
a text_item (see output/text-item.h). */
void
-tab_output_text (int options, const char *string)
+tab_output_text (int options
UNUSED
, const char *string)
{
{
- enum text_item_type type = (options & TAB_FIX ? TEXT_ITEM_LOG
- : TEXT_ITEM_PARAGRAPH);
- text_item_submit (text_item_create (type, string));
+ text_item_submit (text_item_create (TEXT_ITEM_LOG, string));
}
/* Same as tab_output_text(), but FORMAT is passed through printf-like
}
/* Same as tab_output_text(), but FORMAT is passed through printf-like