diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-02-04 06:21:20 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-02-04 06:22:30 +0100 |
commit | 40ac85bfb676bb4373bda4b18f9fd90268c9f1e9 (patch) | |
tree | 2c92b89f77545b4dab59fb8e17f48451c5f952f7 /source/tools/mudraw.c | |
parent | c6531e339d7a919f2e58b65d08d859e5ac335688 (diff) | |
download | mupdf-40ac85bfb676bb4373bda4b18f9fd90268c9f1e9.tar.xz |
Bug 697514: Write SVG output to stdout if no output specified.
Diffstat (limited to 'source/tools/mudraw.c')
-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 95b3440b..720e7ffc 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 char buf[512]; fz_output *out; - if (!strcmp(output, "-")) + if (!output || !strcmp(output, "-")) out = fz_stdout(ctx); else { |