diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-05-01 15:45:25 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2012-05-01 15:45:25 +0200 |
commit | ca64279f8974425b87febb266049a8545b0aed64 (patch) | |
tree | bcba78c6fa0fa252191cb20f7f464d04118a9968 /apps/mudraw.c | |
parent | 30fa2b290143af2dfd13ac4da6aa4b25ce20f422 (diff) | |
download | mupdf-ca64279f8974425b87febb266049a8545b0aed64.tar.xz |
Always print the file name upon errors in mudraw.
Diffstat (limited to 'apps/mudraw.c')
-rw-r--r-- | apps/mudraw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c index 5bb45c36..8a9ae97f 100644 --- a/apps/mudraw.c +++ b/apps/mudraw.c @@ -549,6 +549,7 @@ int main(int argc, char **argv) fz_catch(ctx) { fz_close_document(doc); + fprintf(stderr, "error: cannot draw '%s'\n", filename); } if (showtext == TEXT_HTML) |