set previously uninitialized variables
[swftools.git] / lib / gfxtools.c
index dd8d2b7..f34bcf4 100644 (file)
@@ -44,6 +44,7 @@ static void linedraw_moveTo(gfxdrawer_t*d, gfxcoord_t x, gfxcoord_t y)
        return;
 
     }
+    l->sx = l->sy = 0;
     d->x = l->x = x;
     d->y = l->y = y;
     l->next = 0;