diff options
Diffstat (limited to 'source/pdf/pdf-encoding.c')
-rw-r--r-- | source/pdf/pdf-encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-encoding.c b/source/pdf/pdf-encoding.c index ac2f1a55..0b2cdfca 100644 --- a/source/pdf/pdf-encoding.c +++ b/source/pdf/pdf-encoding.c @@ -63,7 +63,7 @@ pdf_lookup_agl(const char *name) else if (buf[0] == 'a' && buf[1] != 0 && buf[2] != 0) code = strtol(buf + 1, NULL, 10); - return (code > 0 && code <= 0x10ffff) ? code : 0xFFFD; + return (code > 0 && code <= 0x10ffff) ? code : FZ_REPLACEMENT_CHARACTER; } static const char *empty_dup_list[] = { 0 }; |