summaryrefslogtreecommitdiff
path: root/main/eeplot.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-29 22:11:04 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-29 22:22:03 -0300
commit9fa6e29c6bbd1cb2f1c3b988267c12522baae08a (patch)
treefb88db19f6b9f08c9bdb459bd669ece67324e454 /main/eeplot.c
parent5c7199fb2fced0064092c621107f4ff30f82f940 (diff)
downloadeeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.gz
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.bz2
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.zip
add "extra" filtering at gfx_end (this fixed -e for all Cairo formats)
Diffstat (limited to 'main/eeplot.c')
-rw-r--r--main/eeplot.c4
1 files changed, 1 insertions, 3 deletions
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);