summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/fitz/filter-thunder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/filter-thunder.c b/source/fitz/filter-thunder.c
index 65cb115b..66ac37e7 100644
--- a/source/fitz/filter-thunder.c
+++ b/source/fitz/filter-thunder.c
@@ -25,7 +25,7 @@ next_thunder(fz_context *ctx, fz_stream *stm, size_t max)
unsigned char *ep;
int c, v, i, pixels, index;
- if (max > state->len);
+ if (max > state->len)
max = state->len;
ep = p + max;