all repos — openbox @ 9b803f4755b73d1e3d28943c4c141493ad36317c

openbox fork - make it a bit more like ryudo

Fix using None when it should be NULL
Mikael Magnusson mikachu@comhem.se
commit

9b803f4755b73d1e3d28943c4c141493ad36317c

parent

1492bd0e7d92b3c7c1ca6adfe46dab4b8c2d3fed

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M render/mask.crender/mask.c

@@ -47,7 +47,7 @@

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;