aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/col.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-15 22:32:35 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-15 22:32:35 +0900
commitaef3d275d2cfc0c1db78039bc9484910e5051f78 (patch)
tree201b58590f006860caee566a431e7573a73696fe /src/bin/col.c
parentalpha shadow image now has more fidelity at scaled up sizes = less banding (diff)
downloadterminology-aef3d275d2cfc0c1db78039bc9484910e5051f78.tar.gz
lets reduce the theme color strings in size since there are so many - memory
Diffstat (limited to 'src/bin/col.c')
-rw-r--r--src/bin/col.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/col.c b/src/bin/col.c
index ddc7d26..2a5da82 100644
--- a/src/bin/col.c
+++ b/src/bin/col.c
@@ -385,7 +385,7 @@ colors_term_init(Evas_Object *textgrid, Evas_Object *bg)
for (c = 0; c < 4 * 12; c++)
{
- snprintf(buf, sizeof(buf) - 1, "color-%d", c);
+ snprintf(buf, sizeof(buf) - 1, "c%i", c);
n = c + 24 * ( c / 24);
@@ -419,7 +419,7 @@ colors_term_init(Evas_Object *textgrid, Evas_Object *bg)
}
for (c = 0; c < 256; c++)
{
- snprintf(buf, sizeof(buf) - 1, "256color-%d", c);
+ snprintf(buf, sizeof(buf) - 1, "C%i", c);
if (edje_object_color_class_get(bg, buf,
&r, &g, &b, &a,