fix for typo

This commit is contained in:
Campbell Barton 2010-02-22 09:02:05 +00:00
parent e722806cf7
commit 756dace6f5

@ -285,7 +285,7 @@ static PyObject * plot (PyImage * self, PyObject * args)
{
getImageBuff(self)->plot((unsigned char*)bglBuffer->buf.asvoid, width, height, x, y, mode);
}
if (PyErr_Occurred)
if (PyErr_Occurred())
return NULL;
Py_RETURN_NONE;
}