summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-02 11:45:44 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-02 11:46:30 -0300
commit659a7da9262f2b8fc8aaf1b776b0bbf29dc3e0e1 (patch)
treee61d27518d92da2f6b5ebfafbea0928d1bb8fe8e /diff.c
parent8745b40e3eb216fc5cfa7373fea3b4ae991f1c3e (diff)
downloadeeshow-659a7da9262f2b8fc8aaf1b776b0bbf29dc3e0e1.tar.gz
eeshow-659a7da9262f2b8fc8aaf1b776b0bbf29dc3e0e1.tar.bz2
eeshow-659a7da9262f2b8fc8aaf1b776b0bbf29dc3e0e1.zip
eeshow/: PNG and PDF now write to standard output if -o outfile is absent
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/diff.c b/diff.c
index 8f7d4a0..a825c82 100644
--- a/diff.c
+++ b/diff.c
@@ -258,8 +258,7 @@ static void diff_end(void *ctx)
differences(diff, old_img, diff->new_img);
show_areas(diff, old_img);
- if (diff->output_name)
- cro_img_write(diff->cr_ctx, diff->output_name);
+ cro_img_write(diff->cr_ctx, diff->output_name);
}