From 00da2cbd1f047558aee3b6c8ea85d6b092bb9dd1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 29 Oct 2006 20:08:04 +0000 Subject: 100l: forgot to add this with the uucell overhaul --- dblbuf.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dblbuf.c') diff --git a/dblbuf.c b/dblbuf.c index 18e2cd5..f6cbd88 100644 --- a/dblbuf.c +++ b/dblbuf.c @@ -92,10 +92,17 @@ static unsigned long expand_color(struct uudisp *d, int color) struct dblbuf *b = (void *)&d->priv; static const unsigned char cmap[8] = {0,4,2,6,1,5,3,7}; static const unsigned char defpal[16][3] = { +#if 0 + { 0,0,0 }, { 128,0,0 }, { 0,128,0 }, { 85,85,0 }, + { 0,0,128 }, { 85,0,85 }, { 0,85,85 }, { 170,170,170 }, + { 85,85,85 }, { 255,0,0 }, { 0,255,85 }, { 255,255,0 }, + { 0,0,255 }, { 255,0,255 }, { 0,255,255 }, { 255,255,255 } +#else { 0,0,0 }, { 96,0,0 }, { 0,96,0 }, { 85,85,0 }, { 0,0,144 }, { 96,0,96 }, { 0,96,96 }, { 170,170,170 }, { 85,85,85 }, { 255,85,85 }, { 85,255,85 }, { 255,255,85 }, { 85,85,255 }, { 255,85,255 }, { 85,255,255 }, { 255,255,255 } +#endif }; if (b->bytes_per_pixel > 1) { int R = defpal[color][0]; -- cgit v1.2.1