summaryrefslogtreecommitdiff
path: root/dblbuf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2006-10-29 20:08:04 +0000
committerRich Felker <dalias@aerifal.cx>2006-10-29 20:08:04 +0000
commit00da2cbd1f047558aee3b6c8ea85d6b092bb9dd1 (patch)
tree4ee17e11e3ff63b0f203243c76d9ceda35bfc720 /dblbuf.c
parent89fd3b76518cf3004053331c580a349afaaf2dab (diff)
downloaduuterm-00da2cbd1f047558aee3b6c8ea85d6b092bb9dd1.tar.gz
100l: forgot to add this with the uucell overhaul
Diffstat (limited to 'dblbuf.c')
-rw-r--r--dblbuf.c7
1 files changed, 7 insertions, 0 deletions
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];