diff options
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/draw-scale-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-scale-simple.c b/source/fitz/draw-scale-simple.c index 1525c7b5..1d590922 100644 --- a/source/fitz/draw-scale-simple.c +++ b/source/fitz/draw-scale-simple.c @@ -1294,7 +1294,7 @@ scale_single_row(unsigned char * restrict dst, int dstride, const unsigned char tmp[j] = 128; if (weights->flip) { - dst += (weights->count-1)*n; + dst += (weights->count-1)*nf; for (i=weights->count; i > 0; i--) { min = *contrib++; |