[wiki] [sites] fix a patch for st which didn't apply anymore to latest git || Nils Reuße
commit e46dce7f8b56b4a826803af8aa6ecb15ce51cbf6
Author: Nils Reuße <code_AT_hxgn.net>
Date: Sun Feb 15 18:13:22 2015 +0100
fix a patch for st which didn't apply anymore to latest git
diff --git a/st.suckless.org/patches/st-no-bold-colors.diff b/st.suckless.org/patches/st-no-bold-colors.diff
index 22dc6fd..f0df4b6 100644
--- a/st.suckless.org/patches/st-no-bold-colors.diff
+++ b/st.suckless.org/patches/st-no-bold-colors.diff
_AT_@ -1,10 +1,11 @@
diff --git a/st.c b/st.c
+index b9d30a7..946cd0b 100644
--- a/st.c
+++ b/st.c
-_AT_@ -3164,7 +3164,7 @@
+_AT_@ -3269,7 +3269,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
* to bright system colors [8-15]
*/
- if(BETWEEN(base.fg, 0, 7))
+ if(BETWEEN(base.fg, 0, 7) && !(base.mode & ATTR_FAINT))
- fg = &dc.col[base.fg + 8];
+ fg = &dc.col[base.fg];
Received on Sun Feb 15 2015 - 18:15:30 CET
This archive was generated by hypermail 2.3.0
: Thu Jun 18 2015 - 17:40:07 CEST