summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-08-08 16:32:16 +0200
committerTor Andersson <tor@ghostscript.com>2005-08-08 16:32:16 +0200
commit4a10060a92a91e7a3897cb7224d204be5e372364 (patch)
tree08c2e762637d81b5aeab6c63a041e8a84e95c2c4
parentc4ca9cdf2f4517f1a192938c92cf995a247677d3 (diff)
downloadmupdf-4a10060a92a91e7a3897cb7224d204be5e372364.tar.xz
do hex decoding in /Name parser
-rw-r--r--mupdf/pdf_lex.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mupdf/pdf_lex.c b/mupdf/pdf_lex.c
index c1f9643f..115cd0f8 100644
--- a/mupdf/pdf_lex.c
+++ b/mupdf/pdf_lex.c
@@ -91,10 +91,8 @@ lexnumber(fz_stream *f, unsigned char *s, int n)
static void
lexname(fz_stream *f, unsigned char *s, int n)
{
-#if 0
unsigned char *p = s;
unsigned char *q = s;
-#endif
while (n > 1)
{
@@ -105,7 +103,6 @@ lexname(fz_stream *f, unsigned char *s, int n)
}
*s = '\0';
-#if 0
while (*p)
{
if (p[0] == '#' && p[1] != 0 && p[2] != 0)
@@ -117,7 +114,6 @@ lexname(fz_stream *f, unsigned char *s, int n)
*q++ = *p++;
}
*q = '\0';
-#endif
}
static int