Fix using None when it should be NULL

This commit is contained in:
Mikael Magnusson 2007-09-04 06:23:18 +02:00
parent 1492bd0e7d
commit 9b803f4755

View file

@ -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;