diff options
Diffstat (limited to 'gs')
-rw-r--r-- | gs/base/gxiscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gxiscale.c b/gs/base/gxiscale.c index 2c51ecba9..a45b61fb2 100644 --- a/gs/base/gxiscale.c +++ b/gs/base/gxiscale.c @@ -334,7 +334,7 @@ image_render_interpolate(gx_image_enum * penum, const byte * buffer, for (i = 0; i < pss->params.WidthIn; p -= c, q += c, ++i) memcpy(q, p, c); r.ptr = out - 1; - out = q; + out += round_up(pss->params.WidthIn * c, align_bitmap_mod); } } else { |