summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxcmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/dmxcmap.c')
-rw-r--r--hw/dmx/dmxcmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/dmxcmap.c b/hw/dmx/dmxcmap.c
index e3d2fdcdc..ca9ef1ff9 100644
--- a/hw/dmx/dmxcmap.c
+++ b/hw/dmx/dmxcmap.c
@@ -75,7 +75,7 @@ Bool dmxBECreateColormap(ColormapPtr pColormap)
visual,
(pVisual->class & DynamicClass ?
AllocAll : AllocNone));
- return (pCmapPriv->cmap != 0);
+ return pCmapPriv->cmap != 0;
}
else {
dmxLog(dmxWarning, "dmxBECreateColormap: No visual found\n");