diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-02 01:06:10 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-06 16:10:22 +0100 |
commit | 19fdc5eff56166999bfd7342d76358220dd52ca4 (patch) | |
tree | 26ea89757c903148a3397d6a6ed096d176cdb68c /apps | |
parent | 3e17c272716912611513818c0845bc7093b67241 (diff) | |
download | mupdf-19fdc5eff56166999bfd7342d76358220dd52ca4.tar.xz |
Remove stray newlines in error messages.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mupdfclean.c | 2 | ||||
-rw-r--r-- | apps/mupdfextract.c | 2 | ||||
-rw-r--r-- | apps/mupdfinfo.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/mupdfclean.c b/apps/mupdfclean.c index f47ea2b5..c8a81274 100644 --- a/apps/mupdfclean.c +++ b/apps/mupdfclean.c @@ -792,7 +792,7 @@ int main(int argc, char **argv) xref = pdf_open_document(ctx, infile); if (pdf_needs_password(xref)) if (!pdf_authenticate_password(xref, password)) - fz_throw(ctx, "cannot authenticate password: %s\n", infile); + fz_throw(ctx, "cannot authenticate password: %s", infile); out = fopen(outfile, "wb"); if (!out) diff --git a/apps/mupdfextract.c b/apps/mupdfextract.c index dd3066f5..88a3630d 100644 --- a/apps/mupdfextract.c +++ b/apps/mupdfextract.c @@ -195,7 +195,7 @@ int main(int argc, char **argv) doc = pdf_open_document(ctx, infile); if (pdf_needs_password(doc)) if (!pdf_authenticate_password(doc, password)) - fz_throw(ctx, "cannot authenticate password: %s\n", infile); + fz_throw(ctx, "cannot authenticate password: %s", infile); if (fz_optind == argc) { diff --git a/apps/mupdfinfo.c b/apps/mupdfinfo.c index 90316d6f..161a80f1 100644 --- a/apps/mupdfinfo.c +++ b/apps/mupdfinfo.c @@ -996,7 +996,7 @@ int main(int argc, char **argv) xref = pdf_open_document(ctx, filename); if (pdf_needs_password(xref)) if (!pdf_authenticate_password(xref, password)) - fz_throw(ctx, "cannot authenticate password: %s\n", filename); + fz_throw(ctx, "cannot authenticate password: %s", filename); pagecount = pdf_count_pages(xref); showglobalinfo(); |