summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-30 01:11:04 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-30 01:22:03 (GMT)
commit9fa6e29c6bbd1cb2f1c3b988267c12522baae08a (patch)
treefb88db19f6b9f08c9bdb459bd669ece67324e454 /main
parent5c7199fb2fced0064092c621107f4ff30f82f940 (diff)
downloadeeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.zip
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.gz
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.bz2
add "extra" filtering at gfx_end (this fixed -e for all Cairo formats)
Diffstat (limited to 'main')
-rw-r--r--main/eediff.c2
-rw-r--r--main/eeplot.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/main/eediff.c b/main/eediff.c
index c13ade2..1289e41 100644
--- a/main/eediff.c
+++ b/main/eediff.c
@@ -130,7 +130,7 @@ int main(int argc, char **argv)
free_file_names(&file_names_b);
free(opts);
- retval = gfx_end(gfx);
+ retval = gfx_end(gfx, 0);
file_cleanup();
cairo_debug_reset_static_data();
diff --git a/main/eeplot.c b/main/eeplot.c
index 17bc3e3..5a7c84e 100644
--- a/main/eeplot.c
+++ b/main/eeplot.c
@@ -239,7 +239,6 @@ int main(int argc, char **argv)
if (one_sheet) {
sch_render(sch_ctx.sheets, gfx);
- /* @@@ filter extra */
if (pl)
pl_render(pl, gfx, sch_ctx.sheets, sch_ctx.sheets);
} else {
@@ -248,14 +247,13 @@ int main(int argc, char **argv)
for (sheet = sch_ctx.sheets; sheet; sheet = sheet->next) {
gfx_sheet_name(gfx, sheet->title);
sch_render(sheet, gfx);
- /* @@@ filter extra */
if (pl)
pl_render(pl, gfx, sch_ctx.sheets, sheet);
if (sheet->next)
gfx_new_sheet(gfx);
}
}
- retval = gfx_end(gfx);
+ retval = gfx_end(gfx, extra ? gfx_pin_type : 0);
sch_free(&sch_ctx);
lib_free(&lib);