summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r--libass/ass_render.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index b46bc9e0f5..dec08e519d 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -446,12 +446,12 @@ static void render_overlap(ass_image_t** last_tail, ass_image_t** tail, bitmap_h
bottom = ((ay+ah) < (by+bh)) ? (ay+ah) : (by+bh);
if ((right <= left) || (bottom <= top))
return;
- old_left = left-(ax);
- old_top = top-(ay);
+ old_left = left-ax;
+ old_top = top-ay;
w = right-left;
h = bottom-top;
- cur_left = left-(bx);
- cur_top = top-(by);
+ cur_left = left-bx;
+ cur_top = top-by;
// Query cache
memcpy(&hk.a, last_hash, sizeof(*last_hash));