X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpython%2Fprimitives.c;h=9abc42df17c911a9c8e056ab6f50e0b1869f7da1;hp=e70f28d8ace0bddb5cb3cf82e41e66976136fd3b;hb=d9e7b27c4c906d5962d53cc00b060c48ddb1b5e3;hpb=d67bc214215df3b2a1d13cef25ec18a21d0bb814 diff --git a/lib/python/primitives.c b/lib/python/primitives.c index e70f28d..9abc42d 100644 --- a/lib/python/primitives.c +++ b/lib/python/primitives.c @@ -230,7 +230,7 @@ PyObject* f_Matrix(PyObject* _self, PyObject* args, PyObject* kwargs) MatrixObject*matrix = (MatrixObject*)self; mylog("+%08x(%d) f_Matrix", self, self->ob_refcnt); static char *kwlist[] = {"x", "y", "scale", "rotate", "pivotx", "pivoty", NULL}; - float x=0,y=0,scale=1.0,rotate=0,pivotx,pivoty; + float x=0,y=0,scale=1.0,rotate=0,pivotx=0,pivoty=0; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|ffffff", kwlist, &x,&y,&scale,&rotate,&pivotx,&pivoty)) return NULL; mylog(" %08x(%d) f_Matrix: x=%f y=%f scale=%f rotate=%f", self, self->ob_refcnt, x,y,scale,rotate);