comparison src/glyphs-x.c @ 460:223736d75acb r21-2-45

Import from CVS: tag r21-2-45
author cvs
date Mon, 13 Aug 2007 11:43:24 +0200
parents d7a9135ec789
children 0784d089fdc9
comparison
equal deleted inserted replaced
459:9d4fd877b885 460:223736d75acb
796 if (COLOR_INSTANCEP (*background)) 796 if (COLOR_INSTANCEP (*background))
797 *xbg = COLOR_INSTANCE_X_COLOR (XCOLOR_INSTANCE (*background)); 797 *xbg = COLOR_INSTANCE_X_COLOR (XCOLOR_INSTANCE (*background));
798 else 798 else
799 { 799 {
800 xbg->pixel = 0; 800 xbg->pixel = 0;
801 xbg->red = xbg->green = xbg->blue = ~0; 801 xbg->red = xbg->green = xbg->blue = USHRT_MAX;
802 } 802 }
803 } 803 }
804 804
805 static void 805 static void
806 maybe_recolor_cursor (Lisp_Object image_instance, Lisp_Object foreground, 806 maybe_recolor_cursor (Lisp_Object image_instance, Lisp_Object foreground,