[gtk/wip/matthiasc/lottie-stroke: 2/3] Fix a case of left/right confusion




commit 8bb8b4ee06b00cb1f29a9f173bdec9c4b7749639
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 30 23:17:46 2020 -0500

    Fix a case of left/right confusion

 gsk/gskpathstroke.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskpathstroke.c b/gsk/gskpathstroke.c
index cb16fa1c73..55968d4629 100644
--- a/gsk/gskpathstroke.c
+++ b/gsk/gskpathstroke.c
@@ -720,7 +720,7 @@ compute_intersections (PathOpData *op1,
                 {
                   i = find_largest (t, n);
                   op1->le[1] = p[i];
-                  split_bezier (op1->r, 4, t[i], left, right);
+                  split_bezier (op1->l, 4, t[i], left, right);
                   for (i = 0; i < 4; i++)
                     op1->l[i] = left[i];
                 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]