aboutsummaryrefslogtreecommitdiffstats
path: root/www/links/files/extra-terminal.c.diff
blob: c180255767e50bf90917176893d9a95c95af7718 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- terminal.c.orig 2011-11-20 22:10:01.000000000 -0500
+++ terminal.c  2011-12-19 05:33:15.000000000 -0500
@@ -891,6 +891,7 @@
            add_to_str(&a, &l, m);              \
            m[1] = '4';                 \
            m[2] = ((attrib >> 3) & 7) + '0';       \
+           if (m[2] != '0')                \
            add_to_str(&a, &l, m);              \
        } else if (getcompcode(attrib & 7) < getcompcode(attrib >> 3 & 7))\
            add_to_str(&a, &l, ";7");           \