summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
Diffstat (limited to 'draw')
-rw-r--r--draw/draw_affine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/draw_affine.c b/draw/draw_affine.c
index 61936ad9..a90ac087 100644
--- a/draw/draw_affine.c
+++ b/draw/draw_affine.c
@@ -677,7 +677,7 @@ fz_paint_image_imp(fz_pixmap *dst, fz_bbox scissor, fz_pixmap *shape, fz_pixmap
if (shape)
{
hw = shape->w;
- hp = shape->samples + ((y - shape->y) * hw) + x - dst->x;
+ hp = shape->samples + ((y - shape->y) * hw) + x - shape->x;
}
else
{