projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow undo/redo of pasted text as a single item
[pspp]
/
src
/
output
/
ascii.c
diff --git
a/src/output/ascii.c
b/src/output/ascii.c
index c5f30816fb12efefae8865ea43de35158b59d13c..730a82444d35686ffc3821637ad8b770a0ff07de 100644
(file)
--- a/
src/output/ascii.c
+++ b/
src/output/ascii.c
@@
-487,6
+487,7
@@
ascii_submit (struct output_driver *driver,
if (is_table_item (output_item))
ascii_output_table_item (a, to_table_item (output_item));
if (is_table_item (output_item))
ascii_output_table_item (a, to_table_item (output_item));
+#ifdef HAVE_CAIRO
else if (is_chart_item (output_item) && a->chart_file_name != NULL)
{
struct chart_item *chart_item = to_chart_item (output_item);
else if (is_chart_item (output_item) && a->chart_file_name != NULL)
{
struct chart_item *chart_item = to_chart_item (output_item);
@@
-506,6
+507,7
@@
ascii_submit (struct output_driver *driver,
free (file_name);
}
}
free (file_name);
}
}
+#endif /* HAVE_CAIRO */
else if (is_text_item (output_item))
{
const struct text_item *text_item = to_text_item (output_item);
else if (is_text_item (output_item))
{
const struct text_item *text_item = to_text_item (output_item);