summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 5f4e74fa..3013e3d2 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -6103,6 +6103,7 @@ Y_continue:
}
if (dirty) {
+ y -= sdy;
if (sdy < 0) {
b->y2 = b->y1 + 1;
b->y1 = y;
@@ -7371,6 +7372,7 @@ Y_continue:
}
if (dirty) {
+ y1 -= sdy;
if (sdy < 0) {
b->y2 = b->y1 + 1;
b->y1 = y1;