summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2023-01-05 16:46:49 +0000
committerKen Sharp <ken.sharp@artifex.com>2023-01-05 16:54:45 +0000
commit462efa959c5d7df1dd3fd6ea411522062d1a6c3b (patch)
tree20927174517e9f4fa6956929c8be953dd786d6f4 /pdf
parent18aea60d191e2007366912a31f436eb725542438 (diff)
downloadghostpdl-462efa959c5d7df1dd3fd6ea411522062d1a6c3b.tar.gz
GhostPDF - remove spurious spaces in comments with PDFDEBUG
For some reason when PDFDEBUG was true I'd chosen to emit the characters following a comment with spaces between which made it hard to read. Removed the space.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_int.c b/pdf/pdf_int.c
index 8daedae82..dc8a76292 100644
--- a/pdf/pdf_int.c
+++ b/pdf/pdf_int.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2018-2022 Artifex Software, Inc.
+/* Copyright (C) 2018-2023 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -822,7 +822,7 @@ int pdfi_skip_comment(pdf_context *ctx, pdf_c_stream *s)
break;
if (ctx->args.pdfdebug)
- dmprintf1 (ctx->memory, " %c", (char)c);
+ dmprintf1 (ctx->memory, "%c", (char)c);
} while (c != 0x0a && c != 0x0d);