only change colors due to attributes with system colors

This commit is contained in:
Boris Faure 2014-01-18 01:16:56 +01:00
parent e88b9080eb
commit 333c56870c
1 changed files with 3 additions and 3 deletions

View File

@ -1410,8 +1410,8 @@ _smart_apply(Evas_Object *obj)
else if (!bgext)
bg = COL_INVIS;
}
if (cells[x].att.fgintense) fg += 48;
if (cells[x].att.bgintense) bg += 48;
if ((cells[x].att.fgintense) && (!fgext)) fg += 48;
if ((cells[x].att.bgintense) && (!bgext)) bg += 48;
if (cells[x].att.inverse ^ inv)
{
int t;
@ -1419,7 +1419,7 @@ _smart_apply(Evas_Object *obj)
t = fg; fg = bg; bg = t;
}
if ((cells[x].att.bold) && (!fgext)) fg += 12;
if (cells[x].att.faint) fg += 24;
if ((cells[x].att.faint) && (!fgext)) fg += 12;
if ((tc[x].codepoint != codepoint) ||
(tc[x].fg != fg) ||
(tc[x].bg != bg) ||