From 5e568bb3f595aa63e715bbe2463298732bc5253a Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 12 Jun 2004 16:03:16 +0000 Subject: [PATCH] fixed some trivial bugs. --- lib/python/SWF.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/python/SWF.c b/lib/python/SWF.c index 8d40a90..75f876c 100644 --- a/lib/python/SWF.c +++ b/lib/python/SWF.c @@ -70,7 +70,7 @@ static PyObject* f_create(PyObject* self, PyObject* args, PyObject* kwargs) if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|idOs", kwlist, &version, &framerate, - &obbox, filename)) + &obbox, &filename)) return NULL; if (!PY_CHECK_TYPE(obbox, &BBoxClass)) { @@ -401,7 +401,7 @@ static PyObject* module_verbose(PyObject* self, PyObject* args, PyObject* kwargs { int _verbose = 0; static char *kwlist[] = {"verbosity", NULL}; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &verbose)) + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &_verbose)) return NULL; setVerbosity(_verbose); -- 1.7.10.4