sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e46dce7f8b56b4a826803af8aa6ecb15ce51cbf6
parent 5d8fc24c0a64448d06e1ad83409bc08097626bf3
Author: Nils Reu├če <code@hxgn.net>
Date:   Sun, 15 Feb 2015 18:13:22 +0100

fix a patch for st which didn't apply anymore to latest git

Diffstat:
Mst.suckless.org/patches/st-no-bold-colors.diff | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/st.suckless.org/patches/st-no-bold-colors.diff b/st.suckless.org/patches/st-no-bold-colors.diff @@ -1,10 +1,11 @@ diff --git a/st.c b/st.c +index b9d30a7..946cd0b 100644 --- a/st.c +++ b/st.c -@@ -3164,7 +3164,7 @@ +@@ -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];