diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 20:59:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 20:59:04 +0300 |
commit | 3c184def72693e319253c31896b385c297183778 (patch) | |
tree | 665530e6a8a0a1e57ee7b02221b2530f10eb10c4 /source/blender/editors/mesh | |
parent | 709c727c510a85426b87a9a2fb7fb8517fef7de9 (diff) |
use NULL instead of 0 for pointers, (editors)
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editface.c b/source/blender/editors/mesh/editface.c index 302e5f79e8d..cec7d7a3d54 100644 --- a/source/blender/editors/mesh/editface.c +++ b/source/blender/editors/mesh/editface.c @@ -164,7 +164,7 @@ void paintface_hide(Object *ob, const int unselected) int a; me= get_mesh(ob); - if(me==0 || me->totface==0) return; + if(me==NULL || me->totface==0) return; mface= me->mface; a= me->totface; @@ -193,7 +193,7 @@ void paintface_reveal(Object *ob) int a; me= get_mesh(ob); - if(me==0 || me->totface==0) return; + if(me==NULL || me->totface==0) return; mface= me->mface; a= me->totface; @@ -333,7 +333,7 @@ void paintface_select_linked(bContext *UNUSED(C), Object *ob, short UNUSED(mval[ unsigned int index=0; me = get_mesh(ob); - if(me==0 || me->totface==0) return; + if(me==NULL || me->totface==0) return; if (mode==0 || mode==1) { // XXX - Causes glitches, not sure why @@ -356,7 +356,7 @@ void paintface_deselect_all_visible(Object *ob, int action, short flush_flags) int a; me= get_mesh(ob); - if(me==0) return; + if(me==NULL) return; if(action == SEL_INVERT) { mface= me->mface; |