diff options
Diffstat (limited to 'draw')
-rw-r--r-- | draw/imagesmooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/imagesmooth.c b/draw/imagesmooth.c index 72345ed6..341e0377 100644 --- a/draw/imagesmooth.c +++ b/draw/imagesmooth.c @@ -925,7 +925,7 @@ scale_single_col(unsigned char *dst, unsigned char *src, fz_weights *weights, in /* Scale the next pixel in the column */ min = *contrib++; len = *contrib++; - min = (src_w-min)*n; + min = src_w-min*n; for (j = 0; j < n; j++) tmp[j] = 0; while (len-- > 0) |