diff options
-rw-r--r-- | source/tools/mudraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c index 95b3440b0..720e7ffcd 100644 --- a/source/tools/mudraw.c +++ b/source/tools/mudraw.c | |||
@@ -578,7 +578,7 @@ static void dodrawpage(fz_context *ctx, fz_page *page, fz_display_list *list, in | |||
578 | char buf[512]; | 578 | char buf[512]; |
579 | fz_output *out; | 579 | fz_output *out; |
580 | 580 | ||
581 | if (!strcmp(output, "-")) | 581 | if (!output || !strcmp(output, "-")) |
582 | out = fz_stdout(ctx); | 582 | out = fz_stdout(ctx); |
583 | else | 583 | else |
584 | { | 584 | { |