diff options
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r-- | source/pdf/pdf-xref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index 682a3ddb..431755d6 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -649,7 +649,7 @@ fz_skip_space(fz_context *ctx, fz_stream *stm) do { int c = fz_peek_byte(ctx, stm); - if (c > 32 && c != EOF) + if (c == EOF || c > 32) return; (void)fz_read_byte(ctx, stm); } |