summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-09-04 06:23:18 +0200
committerMikael Magnusson <mikachu@comhem.se>2007-09-04 06:25:31 +0200
commit9b803f4755b73d1e3d28943c4c141493ad36317c (patch)
tree3dca7c00e833e82d7cb5421bee402e7a5dae2a64 /render
parent1492bd0e7d92b3c7c1ca6adfe46dab4b8c2d3fed (diff)
Fix using None when it should be NULL
Diffstat (limited to 'render')
-rw-r--r--render/mask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/mask.c b/render/mask.c
index 10ce8d0f..b6e3c443 100644
--- a/render/mask.c
+++ b/render/mask.c
@@ -47,7 +47,7 @@ void RrPixmapMaskFree(RrPixmapMask *m)
void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area)
{
gint x, y;
- if (m->mask == None) return; /* no mask given */
+ if (m->mask == NULL) return; /* no mask given */
/* set the clip region */
x = area->x + (area->width - m->mask->width) / 2;