From 756dace6f53ae2c11cb40a0f09b58d2de1ed8413 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Feb 2010 09:02:05 +0000 Subject: fix for typo --- source/gameengine/VideoTexture/ImageBuff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/VideoTexture/ImageBuff.cpp') diff --git a/source/gameengine/VideoTexture/ImageBuff.cpp b/source/gameengine/VideoTexture/ImageBuff.cpp index 474a34b2f43..e1002bb2370 100644 --- a/source/gameengine/VideoTexture/ImageBuff.cpp +++ b/source/gameengine/VideoTexture/ImageBuff.cpp @@ -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; } -- cgit v1.2.3