diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-10-02 12:48:55 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-10-02 12:48:55 +0200 |
| commit | 0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f (patch) | |
| tree | 2d01d474f102111634014809d4c278b9e61fe2f6 | |
| parent | Removing the now obsolete definitions from the config.def.h file. (diff) | |
| download | st-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.tar.gz st-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.zip | |
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
| -rw-r--r-- | st.c | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -2182,10 +2182,8 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { | |||
| 2182 | if(base.mode & ATTR_REVERSE) | 2182 | if(base.mode & ATTR_REVERSE) |
| 2183 | temp = fg, fg = bg, bg = temp; | 2183 | temp = fg, fg = bg, bg = temp; |
| 2184 | 2184 | ||
| 2185 | if(base.mode & ATTR_BOLD) { | 2185 | if(base.mode & ATTR_BOLD) |
| 2186 | fg += 8; | ||
| 2187 | font = &dc.bfont; | 2186 | font = &dc.bfont; |
| 2188 | } | ||
| 2189 | 2187 | ||
| 2190 | if(base.mode & ATTR_ITALIC) | 2188 | if(base.mode & ATTR_ITALIC) |
| 2191 | font = &dc.ifont; | 2189 | font = &dc.ifont; |
