[gs-commits] mupdf/master - 0_6-184-ge6efe24 - Fix typo in pdfinfo causing too long colorspace names.

Tor Andersson tor at ghostscript.com
Sat Jul 17 01:47:51 UTC 2010


commit e6efe24e177136186f9a742fbe346aa9557edd83
Author: Sebastian Rasmussen <sebras at hotmail.com>
Date:   Fri Jul 16 17:57:14 2010 +0000

    Fix typo in pdfinfo causing too long colorspace names.
    
    Ignore-this: 64e76fe699fa873124a5ff6b45382fd2
    
    darcs-hash:20100716175714-86a4e-5e9cbed293c9ec858fd5a1c7d536aecdac78b721.gz

 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/apps/pdfinfo.c b/apps/pdfinfo.c
index 0eae913..4a336dc 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);

--
git/hooks/post-receive


More information about the gs-commits mailing list