summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2010-07-16 17:57:14 +0000
committerSebastian Rasmussen <sebras@hotmail.com>2010-07-16 17:57:14 +0000
commitfdca3e67467a4266a14457f7ae2914ec6635c86c (patch)
tree185c28158a5ad5a74cf18cc88c01a66b175c98bd /apps
parent85dacbaa8079837dda1ab8529e92f2d82f1082d1 (diff)
downloadmupdf-fdca3e67467a4266a14457f7ae2914ec6635c86c.tar.xz
Fix typo in pdfinfo causing too long colorspace names.
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);