diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-22 12:02:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-22 12:02:05 +0300 |
commit | 756dace6f53ae2c11cb40a0f09b58d2de1ed8413 (patch) | |
tree | 8c89f22a3ef8219166ed6c01b712e93c13e4ca77 /source/gameengine/VideoTexture | |
parent | e722806cf751bd18d5f425a1e2782eb58c2d7214 (diff) |
fix for typo
Diffstat (limited to 'source/gameengine/VideoTexture')
-rw-r--r-- | source/gameengine/VideoTexture/ImageBuff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |