summaryrefslogtreecommitdiff
path: root/render/mask.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-12-18 21:12:52 +0100
committerMikael Magnusson <mikachu@comhem.se>2007-12-18 21:12:52 +0100
commit2b8b5da04b14af1639143cc332874c7e1a03a8bb (patch)
tree74fc76cd53dc5684b8009960e896ecbc91cf0891 /render/mask.c
parent9586ad246dae1f1de89f2070722cfa0c0c41c477 (diff)
parent46f90bca8ab55a2f43bf33af1adf178bd0bd81d9 (diff)
Merge branch 'backport'
Diffstat (limited to 'render/mask.c')
-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;