diff options
-rw-r--r-- | source/pdf/pdf-lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-lex.c b/source/pdf/pdf-lex.c index 34c753ab..ec66f56e 100644 --- a/source/pdf/pdf-lex.c +++ b/source/pdf/pdf-lex.c @@ -35,7 +35,7 @@ static inline int iswhite(int ch) ch == '\040'; } -static inline int isprint(int ch) +static inline int fz_isprint(int ch) { return ch >= ' ' && ch <= '~'; } @@ -448,7 +448,7 @@ pdf_token_from_keyword(char *key) while (*key) { - if (!isprint(*key)) + if (!fz_isprint(*key)) return PDF_TOK_ERROR; ++key; } |