1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/links/files/extra-terminal.c.diff
Dmitry Sivachenko 9b4a46dbc2 Update to version 2.4.
Submitted by:	bf
2011-12-20 11:24:25 +00:00

11 lines
385 B
Diff

--- 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"); \