summaryrefslogtreecommitdiff
path: root/gfx/fig.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 /gfx/fig.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 'gfx/fig.c')
-rw-r--r--gfx/fig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/fig.c b/gfx/fig.c
index daa015a..5c6ceb8 100644
--- a/gfx/fig.c
+++ b/gfx/fig.c
@@ -365,10 +365,11 @@ static bool fig_args(void *ctx, int argc, char *const *argv, const char *opts)
}
-static int fig_end(void *ctx)
+static int fig_end(void *ctx, enum gfx_extra extra)
{
struct fig_ctx *fig = ctx;
+ /* @@@ support extra */
if (fclose(fig->file) < 0)
diag_pfatal("fclose");
free(ctx);