Fix using None when it should be NULL
This commit is contained in:
parent
1492bd0e7d
commit
9b803f4755
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ void RrPixmapMaskFree(RrPixmapMask *m)
|
||||||
void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area)
|
void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area)
|
||||||
{
|
{
|
||||||
gint x, y;
|
gint x, y;
|
||||||
if (m->mask == None) return; /* no mask given */
|
if (m->mask == NULL) return; /* no mask given */
|
||||||
|
|
||||||
/* set the clip region */
|
/* set the clip region */
|
||||||
x = area->x + (area->width - m->mask->width) / 2;
|
x = area->x + (area->width - m->mask->width) / 2;
|
||||||
|
|
Loading…
Reference in a new issue