diff src/shape_path.c @ 17:41f0907b27ac

Unittest for rdman_redraw_changed(). geo_init() is seperated into geo_init() and geo_from_positions().
author Thinker K.F. Li <thinker@branda.to>
date Fri, 01 Aug 2008 23:32:22 +0800
parents c2ce186a5c37
children 74d3d5dc9aaa
line wrap: on
line diff
--- a/src/shape_path.c	Fri Aug 01 18:20:28 2008 +0800
+++ b/src/shape_path.c	Fri Aug 01 23:32:22 2008 +0800
@@ -413,7 +413,7 @@
 
     if(path->shape.geo) {
 	poses = (co_aix (*)[2])(path->dev_data + path->cmd_len);
-	geo_init(path->shape.geo, arg_len / 2, poses);
+	geo_from_positions(path->shape.geo, arg_len / 2, poses);
     }
 }