Fix gsk_path_builder_add_segment

We were splitting the last segment, but did not
actually use the result of the split. Oops.
This commit is contained in:
Matthias Clasen 2023-08-12 21:30:42 -04:00
parent 95a8821614
commit 4b7e1b1233

View File

@ -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);
}
}