billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=333c56870c12542864d1dc0f7719bf5266e2d834

commit 333c56870c12542864d1dc0f7719bf5266e2d834
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Jan 18 01:16:56 2014 +0100

    only change colors due to attributes with system colors
---
 src/bin/termio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 684eb9a..94f7920 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -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) ||

-- 


Reply via email to