summaryrefslogtreecommitdiff
path: root/xserver/dix/colormap.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/dix/colormap.c')
-rw-r--r--xserver/dix/colormap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xserver/dix/colormap.c b/xserver/dix/colormap.c
index 7a00d14d6..b5b34d656 100644
--- a/xserver/dix/colormap.c
+++ b/xserver/dix/colormap.c
@@ -1250,6 +1250,7 @@ FindBestPixel(EntryPtr pentFirst, int size, xrgb * prgb, int channel)
case PSEUDOMAP:
dg = (long) pent->co.local.green - prgb->green;
db = (long) pent->co.local.blue - prgb->blue;
+ /* fallthrough */
case REDMAP:
dr = (long) pent->co.local.red - prgb->red;
break;