diff src/shape_path.c @ 15:c2ce186a5c37

X_main uses rdman_redraw_all()
author Thinker K.F. Li <thinker@branda.to>
date Fri, 01 Aug 2008 01:40:07 +0800
parents 79e9edf4c00a
children 41f0907b27ac
line wrap: on
line diff
--- a/src/shape_path.c	Thu Jul 31 17:43:20 2008 +0800
+++ b/src/shape_path.c	Fri Aug 01 01:40:07 2008 +0800
@@ -431,7 +431,7 @@
     cmd_len = path->cmd_len;
     cmds = path->dev_data;
     args = (co_aix *)(cmds + cmd_len);
-    x = y = 0;
+    x = y = x1 = y1 = x2 = y2 = 0;
     for(i = 0; i < cmd_len; i++) {
 	cmd = *cmds++;
 	switch(cmd) {