From: kramm Date: Fri, 9 Nov 2007 10:23:25 +0000 (+0000) Subject: fixed pdfdriver function call X-Git-Tag: buttons-working~496 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=2b2ec1b0157fcfb3a50358617c5277a494eb5182 fixed pdfdriver function call --- diff --git a/lib/python/gfx.c b/lib/python/gfx.c index c9f3fa2..dafddfa 100644 --- a/lib/python/gfx.c +++ b/lib/python/gfx.c @@ -382,7 +382,7 @@ static PyObject* f_open(PyObject* parent, PyObject* args, PyObject* kwargs) DocObject*self = PyObject_New(DocObject, &DriverClass); if(!strcmp(type,"pdf")) - self->doc = pdfdriver->open(filename); + self->doc = pdfdriver->open(pdfdriver,filename); else return PY_ERROR("Unknown type %s", type);