projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1492bd0
)
Fix using None when it should be NULL
author
Mikael Magnusson
<mikachu@comhem.se>
Tue, 4 Sep 2007 04:23:18 +0000
(06:23 +0200)
committer
Mikael Magnusson
<mikachu@comhem.se>
Tue, 4 Sep 2007 04:25:31 +0000
(06:25 +0200)
render/mask.c
patch
|
blob
|
history
diff --git
a/render/mask.c
b/render/mask.c
index
10ce8d0
..
b6e3c44
100644
(file)
--- 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 == N
one
) return; /* no mask given */
+ if (m->mask == N
ULL
) return; /* no mask given */
/* set the clip region */
x = area->x + (area->width - m->mask->width) / 2;