From f6b1bd8cf8b0ecb0fb7a146837dc827a66c28b2f Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 2 Jun 2013 17:29:00 +0200 Subject: Do not print invalid hex character in warning This means that warnings can now be rate limited. --- pdf/pdf_lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf/pdf_lex.c b/pdf/pdf_lex.c index adb3aea3..6b03d8d9 100644 --- a/pdf/pdf_lex.c +++ b/pdf/pdf_lex.c @@ -364,7 +364,7 @@ lex_hex_string(fz_stream *f, pdf_lexbuf *lb) case EOF: goto end; default: - fz_warn(f->ctx, "ignoring invalid character in hex string: '%c'", c); + fz_warn(f->ctx, "ignoring invalid character in hex string"); } } end: -- cgit v1.2.3