summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-02-11 12:37:33 -0500
committerBehdad Esfahbod <behdad@behdad.org>2014-02-11 12:37:57 -0500
commitd8e2dc00c8d28e1bf8b443208497ce1ab25e0af4 (patch)
tree3079ede34b5f7d716ca74bf44710c93e83fdaaae
parent07de8494412e6d735c5fa04aa8bdf1632582d098 (diff)
downloadpango-d8e2dc00c8d28e1bf8b443208497ce1ab25e0af4.tar.gz
Fix cairotwisted curve_length()
-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);