summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2017-08-21 17:05:09 +0100
committerKen Sharp <ken.sharp@artifex.com>2017-08-21 17:05:09 +0100
commit7a9d86b5ed28862b671bfb65d3a4d0622ec745c1 (patch)
tree744c64f4d99a79bc4b530e68b6446bc8b00d6c2f /xps
parent6162bbb7b804a0c70a35f218e59fa6c3118cd6a2 (diff)
downloadghostpdl-7a9d86b5ed28862b671bfb65d3a4d0622ec745c1.tar.gz
XPS Interpreter - fix a formatting mistake
No impact, but it silences a compiler warning. Accidentally introduced in commit 6162bbb7b804a0c70a35f218e59fa6c3118cd6a2
Diffstat (limited to 'xps')
-rw-r--r--xps/xpszip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xps/xpszip.c b/xps/xpszip.c
index 74e4539ec..d7d039e12 100644
--- a/xps/xpszip.c
+++ b/xps/xpszip.c
@@ -127,9 +127,9 @@ xps_read_zip_entry(xps_context_t *ctx, xps_entry_t *ent, unsigned char *outbuf)
extralength = getshort(ctx->file);
if (namelength < 0 || namelength > 65535)
- return gs_throw1(gs_error_ioerror, "Illegal namelength (can't happen).\n", namelength + extralength);
+ return gs_rethrow(gs_error_ioerror, "Illegal namelength (can't happen).\n");
if (extralength < 0 || extralength > 65535)
- return gs_throw1(gs_error_ioerror, "Illegal extralength (can't happen).\n", namelength + extralength);
+ return gs_rethrow(gs_error_ioerror, "Illegal extralength (can't happen).\n");
if (xps_fseek(ctx->file, namelength + extralength, 1) != 0)
return gs_throw1(gs_error_ioerror, "xps_fseek to %d failed.\n", namelength + extralength);