projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire: Deal properly with inverted variable selections.
[pspp]
/
src
/
output
/
text-item.c
diff --git
a/src/output/text-item.c
b/src/output/text-item.c
index cfd6cc8a9022788d67093552e968f3587c129556..ba0f3873adb0071f2dc996f62b3846d2117ccf02 100644
(file)
--- a/
src/output/text-item.c
+++ b/
src/output/text-item.c
@@
-25,7
+25,7
@@
#include "libpspp/pool.h"
#include "output/driver.h"
#include "output/output-item-provider.h"
#include "libpspp/pool.h"
#include "output/driver.h"
#include "output/output-item-provider.h"
-#include "output/tab.h"
+#include "output/tab
le
.h"
#include "output/table-item.h"
#include "output/table-provider.h"
#include "output/table-item.h"
#include "output/table-provider.h"
@@
-119,7
+119,7
@@
text_item_submit (struct text_item *item)
struct table_item *
text_item_to_table_item (struct text_item *text_item)
{
struct table_item *
text_item_to_table_item (struct text_item *text_item)
{
- struct table *tab = tab_create (1, 1, 0, 0, 0, 0);
+ struct table *tab = tab
le
_create (1, 1, 0, 0, 0, 0);
struct area_style *style = pool_alloc (tab->container, sizeof *style);
*style = (struct area_style) { AREA_STYLE_INITIALIZER__,
struct area_style *style = pool_alloc (tab->container, sizeof *style);
*style = (struct area_style) { AREA_STYLE_INITIALIZER__,
@@
-139,7
+139,7
@@
text_item_to_table_item (struct text_item *text_item)
opts |= TAB_MARKUP;
if (text_item->type == TEXT_ITEM_SYNTAX || text_item->type == TEXT_ITEM_LOG)
opts |= TAB_FIX;
opts |= TAB_MARKUP;
if (text_item->type == TEXT_ITEM_SYNTAX || text_item->type == TEXT_ITEM_LOG)
opts |= TAB_FIX;
- tab_text (tab, 0, 0, opts, text_item_get_text (text_item));
+ tab
le
_text (tab, 0, 0, opts, text_item_get_text (text_item));
struct table_item *table_item = table_item_create (tab, NULL, NULL);
text_item_unref (text_item);
return table_item;
struct table_item *table_item = table_item_create (tab, NULL, NULL);
text_item_unref (text_item);
return table_item;