diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-21 05:24:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-22 01:39:13 +0400 |
commit | 41e563594db6410381742b3803cf140099db88e2 (patch) | |
tree | 2dc0ee2d8251b21012652410fea74771c8335418 /source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp | |
parent | 811ce5a696ae4b7043744a081980c3e77e4bd927 (diff) |
Code Cleanup: int pointer comparison
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp index 9a4eb2b7f61..1dadfbced03 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp +++ b/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp @@ -75,7 +75,7 @@ PyDoc_STRVAR(ChainingIterator_doc, static int check_begin(PyObject *obj, void *v) { - if (obj != 0 && obj != Py_None && !BPy_ViewEdge_Check(obj)) + if (obj != NULL && obj != Py_None && !BPy_ViewEdge_Check(obj)) return 0; *((PyObject **)v) = obj; return 1; |