Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-03 20:59:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-03 20:59:04 +0300
commit3c184def72693e319253c31896b385c297183778 (patch)
tree665530e6a8a0a1e57ee7b02221b2530f10eb10c4 /source/blender/editors/gpencil
parent709c727c510a85426b87a9a2fb7fb8517fef7de9 (diff)
use NULL instead of 0 for pointers, (editors)
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/drawgpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index 79746f401cf..ffaedf6a5bc 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -500,7 +500,7 @@ static void gp_draw_strokes (bGPDframe *gpf, int offsx, int offsy, int winx, int
continue;
if (!(dflag & GP_DRAWDATA_ONLYI2D) && (gps->flag & GP_STROKE_2DIMAGE))
continue;
- if ((gps->points == 0) || (gps->totpoints < 1))
+ if ((gps->points == NULL) || (gps->totpoints < 1))
continue;
/* check which stroke-drawer to use */