summaryrefslogtreecommitdiff
path: root/dblbuf.c
diff options
context:
space:
mode:
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];