From 97e27bc64d415a561cd78babb2cc9e383b42ffcb Mon Sep 17 00:00:00 2001 From: Shiva Date: Sun, 29 Jan 2017 21:59:15 -0800 Subject: Update readme with details about patches --- patches/st-no_bold_colors-20160727-308bfbf.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/st-no_bold_colors-20160727-308bfbf.diff (limited to 'patches/st-no_bold_colors-20160727-308bfbf.diff') diff --git a/patches/st-no_bold_colors-20160727-308bfbf.diff b/patches/st-no_bold_colors-20160727-308bfbf.diff new file mode 100644 index 0000000..c381703 --- /dev/null +++ b/patches/st-no_bold_colors-20160727-308bfbf.diff @@ -0,0 +1,13 @@ +diff --git a/st.c b/st.c +index 2594c65..f6fe717 100644 +--- a/st.c ++++ b/st.c +@@ -3719,7 +3719,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i + + /* Change basic system colors [0-7] to bright system colors [8-15] */ + if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7)) +- fg = &dc.col[base.fg + 8]; ++ fg = &dc.col[base.fg]; + + if (IS_SET(MODE_REVERSE)) { + if (fg == &dc.col[defaultfg]) { -- cgit v1.2.3