diff options
Diffstat (limited to 'source/pdf')
-rw-r--r-- | source/pdf/pdf-function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-function.c b/source/pdf/pdf-function.c index 7725544c..510e36cf 100644 --- a/source/pdf/pdf-function.c +++ b/source/pdf/pdf-function.c @@ -1077,7 +1077,7 @@ eval_sample_func(fz_context *ctx, pdf_function *func, float *in, float *out) scale[0] = func->base.n; for (i = 1; i < func->base.m; i++) - scale[i] = scale[i - 1] * func->u.sa.size[i]; + scale[i] = scale[i - 1] * func->u.sa.size[i-1]; for (i = 0; i < func->base.n; i++) { |