diff options
Diffstat (limited to 'source/tools/pdfshow.c')
-rw-r--r-- | source/tools/pdfshow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c index 98a374b1..988663a4 100644 --- a/source/tools/pdfshow.c +++ b/source/tools/pdfshow.c @@ -197,7 +197,7 @@ static void showoutline(void) fz_var(out); fz_try(ctx) { - out = fz_new_output_with_file_ptr(ctx, stdout, 0); + out = fz_stdout(ctx); fz_print_outline(ctx, out, outline); } fz_always(ctx) @@ -245,7 +245,7 @@ int pdfshow_main(int argc, char **argv) if (output) out = fz_new_output_with_path(ctx, output, 0); else - out = fz_new_output_with_file_ptr(ctx, stdout, 0); + out = fz_stdout(ctx); fz_var(doc); fz_try(ctx) |