summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/pdfinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfinfo.c b/apps/pdfinfo.c
index 0eae9137..4a336dc9 100644
--- a/apps/pdfinfo.c
+++ b/apps/pdfinfo.c
@@ -733,7 +733,7 @@ printinfo(char *filename, int show, int page)
{
for (j = 0; cs[j + 6] != '\0'; j++)
cs[3 + j] = cs[j + 6];
- cs[j + 6] = '\0';
+ cs[3 + j] = '\0';
}
if (strstr(cs, "ICC"))
fz_strlcpy(cs, "ICC", 3);