summaryrefslogtreecommitdiff
path: root/mi/miexpose.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-09-15 12:10:55 -0400
committerAdam Jackson <ajax@redhat.com>2014-10-09 11:14:53 +0200
commit81d76a835b2f647e3051b1d93606e59db7998d76 (patch)
treed8681e80a1d712c68d94b47d814c6a88b780be1f /mi/miexpose.c
parent322ba42c23a3a107f7a62fb1c449792b616e5eba (diff)
dix: Lower backStorage to a bit instead of a pointer
Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'mi/miexpose.c')
-rw-r--r--mi/miexpose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/miexpose.c b/mi/miexpose.c
index 555f3b20a..de8ee6c2a 100644
--- a/mi/miexpose.c
+++ b/mi/miexpose.c
@@ -143,7 +143,7 @@ miHandleExposures(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
if (!pGC->graphicsExposures &&
(pDstDrawable->type == DRAWABLE_PIXMAP) &&
((pSrcDrawable->type == DRAWABLE_PIXMAP) ||
- (((WindowPtr) pSrcDrawable)->backStorage == NULL)))
+ (((WindowPtr) pSrcDrawable)->backStorage == 0)))
return NULL;
srcBox.x1 = srcx;