From 4b7e1b12333281931ea928a5688ea8d36cf86fa8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 12 Aug 2023 21:30:42 -0400 Subject: [PATCH] Fix gsk_path_builder_add_segment We were splitting the last segment, but did not actually use the result of the split. Oops. --- gsk/gskcontour.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsk/gskcontour.c b/gsk/gskcontour.c index 097113c72c..f708e242f6 100644 --- a/gsk/gskcontour.c +++ b/gsk/gskcontour.c @@ -618,7 +618,7 @@ gsk_standard_contour_add_segment (const GskContour *contour, else if (end->t > 0) { gsk_curve_split (&c, end->t, &c1, &c2); - add_curve (&c, builder, &emit_move_to); + add_curve (&c1, builder, &emit_move_to); } }