aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2008-05-20 16:18:34 +0800
committerdemon <demon@FreeBSD.org>2008-05-20 16:18:34 +0800
commit5f83eb00141ed5ac609bc51bd0ebef6963ccf7d8 (patch)
tree3e5da2ef9b50faf7302d7ac6884ffc95dfb23f2c
parent6ac9a97e6834a6f213e467dfeb872c3ef983fd44 (diff)
downloadfreebsd-ports-graphics-5f83eb00141ed5ac609bc51bd0ebef6963ccf7d8.tar.gz
freebsd-ports-graphics-5f83eb00141ed5ac609bc51bd0ebef6963ccf7d8.tar.zst
freebsd-ports-graphics-5f83eb00141ed5ac609bc51bd0ebef6963ccf7d8.zip
Fix for transparent terminals.
PR: 123311 Submitted by: Dmitry Klimov <lazyklimm@gmail.com>
-rw-r--r--www/links/files/extra-terminal.c.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/links/files/extra-terminal.c.diff b/www/links/files/extra-terminal.c.diff
new file mode 100644
index 00000000000..d1e4ad95ee5
--- /dev/null
+++ b/www/links/files/extra-terminal.c.diff
@@ -0,0 +1,10 @@
+--- terminal.c.orig 2008-05-01 21:02:39.000000000 +0400
++++ terminal.c 2008-05-01 21:03:50.000000000 +0400
+@@ -819,6 +819,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"); \