diff options
author | Tor Andersson <tor@ghostscript.com> | 2009-02-28 00:51:39 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2009-02-28 00:51:39 +0100 |
commit | d0631f32c95f656d30c90d28c15a56b09fcc86ee (patch) | |
tree | 2975034d36a1a7df661f7801fc46cd1705f577c7 | |
parent | 91616fbd8ea21a249251ad9ac0605e8e15f42dbb (diff) | |
download | mupdf-d0631f32c95f656d30c90d28c15a56b09fcc86ee.tar.xz |
Remove spurious newlines from fz_throw calls.
-rw-r--r-- | mupdf/pdf_crypt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mupdf/pdf_crypt.c b/mupdf/pdf_crypt.c index 18a8b680..d2470d4f 100644 --- a/mupdf/pdf_crypt.c +++ b/mupdf/pdf_crypt.c @@ -214,7 +214,7 @@ pdf_newdecrypt(pdf_crypt **cp, fz_obj *enc, fz_obj *id) { char *handler = crypt->handler; pdf_dropcrypt(crypt); - return fz_throw("unsupported security handler: %s\n", handler); + return fz_throw("unsupported security handler: %s", handler); } if (crypt->v == 4) @@ -223,14 +223,14 @@ pdf_newdecrypt(pdf_crypt **cp, fz_obj *enc, fz_obj *id) { char *method = crypt->stmmethod; pdf_dropcrypt(crypt); - return fz_throw("unsupported stream encryption method: %s\n", method); + return fz_throw("unsupported stream encryption method: %s", method); } if (crypt->strmethod && strcmp(crypt->strmethod, "V2") != 0) { char *method = crypt->strmethod; pdf_dropcrypt(crypt); - return fz_throw("unsupported string encryption: %s\n", method); + return fz_throw("unsupported string encryption: %s", method); } if (crypt->stmlength != crypt->strlength) @@ -238,7 +238,7 @@ pdf_newdecrypt(pdf_crypt **cp, fz_obj *enc, fz_obj *id) int stmlength = crypt->stmlength; int strlength = crypt->strlength; pdf_dropcrypt(crypt); - return fz_throw("unsupport encryption key lengths: %d vs. %d\n", stmlength, strlength); + return fz_throw("unsupport encryption key lengths: %d vs. %d", stmlength, strlength); } crypt->len = crypt->stmlength; |