aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/col.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-08-28 23:49:38 +0200
committerBoris Faure <billiob@gmail.com>2013-08-28 23:49:38 +0200
commit58bcae42d42eb597e558015f40bb2657a3968b66 (patch)
tree881bb6457a3704bc28ccbc4590cf55202e6ce3d4 /src/bin/col.c
parentuse the same default colors as the first 256 colors (diff)
downloadterminology-58bcae42d42eb597e558015f40bb2657a3968b66.tar.gz
fix stupid bug with faint colors. Closes https://phab.enlightenment.org/T44
Diffstat (limited to 'src/bin/col.c')
-rw-r--r--src/bin/col.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/col.c b/src/bin/col.c
index cbe59b8..ddc7d26 100644
--- a/src/bin/col.c
+++ b/src/bin/col.c
@@ -414,7 +414,7 @@ colors_term_init(Evas_Object *textgrid, Evas_Object *bg)
/* faint */
evas_object_textgrid_palette_set(
textgrid, EVAS_TEXTGRID_PALETTE_STANDARD, n + 24,
- r/2, g/2, b/2, a/2);
+ color.r/2, color.g/2, color.b/2, color.a/2);
}
}
for (c = 0; c < 256; c++)