Parent Directory | Revision Log | Patch
revision 33 by matty, Sat Sep 15 12:34:34 2001 UTC | revision 34 by matty, Sat Sep 15 13:03:35 2001 UTC | |
---|---|---|
# | Line 714 ui_create_colourmap(COLOURMAP *colours) | Line 714 ui_create_colourmap(COLOURMAP *colours) |
714 | MAKE_XCOLOR(&xentry, entry); | MAKE_XCOLOR(&xentry, entry); |
715 | ||
716 | if (XAllocColor(display, xcolmap, &xentry) != 0) | if (XAllocColor(display, xcolmap, &xentry) != 0) |
717 | colour = translate_colour(xentry.pixel); | colour = xentry.pixel; |
718 | else | else |
719 | colour = translate_colour(white); | colour = white; |
720 | ||
721 | /* byte swap here to make translate_image faster */ | /* byte swap here to make translate_image faster */ |
722 | map[i] = translate_colour(colour); | map[i] = translate_colour(colour); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |