X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fglyphs-x.c;h=8c298398c14e99ae3725070a9e15a76c8745990b;hp=f37d3baec0a8b4192625598d77ab791bf4c75b85;hb=1cc5b779cb8755e01e02aead4fba711c06158b90;hpb=40402600969429d5253e62c6314a3eebbb21f027 diff --git a/src/glyphs-x.c b/src/glyphs-x.c index f37d3ba..8c29839 100644 --- a/src/glyphs-x.c +++ b/src/glyphs-x.c @@ -798,7 +798,7 @@ generate_cursor_fg_bg (Lisp_Object device, Lisp_Object *foreground, else { xbg->pixel = 0; - xbg->red = xbg->green = xbg->blue = ~0; + xbg->red = xbg->green = xbg->blue = USHRT_MAX; } }