From 19fdc5eff56166999bfd7342d76358220dd52ca4 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 2 Mar 2012 01:06:10 +0100 Subject: Remove stray newlines in error messages. --- apps/mupdfclean.c | 2 +- apps/mupdfextract.c | 2 +- apps/mupdfinfo.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') 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(); -- cgit v1.2.3