summaryrefslogtreecommitdiff
path: root/examples/cairotwisted.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cairotwisted.c')
-rw-r--r--examples/cairotwisted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cairotwisted.c b/examples/cairotwisted.c
index 81404172..83645dd1 100644
--- a/examples/cairotwisted.c
+++ b/examples/cairotwisted.c
@@ -245,7 +245,7 @@ parametrize_path (cairo_path_t *path)
+ two_points_distance (&data[1], &data[2])
+ two_points_distance (&data[2], &data[3]);
*/
- parametrization[i] = curve_length (current_point.point.x, current_point.point.x,
+ parametrization[i] = curve_length (current_point.point.x, current_point.point.y,
data[1].point.x, data[1].point.y,
data[2].point.x, data[2].point.y,
data[3].point.x, data[3].point.y);