From d9e7b27c4c906d5962d53cc00b060c48ddb1b5e3 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 14 Sep 2004 16:27:19 +0000 Subject: [PATCH] added missing member initialization. --- lib/python/primitives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4