Fixing the reverse mode of st colors.

Thanks Alexander Sedov <alex0player@gmail.com> for finding this!
This commit is contained in:
Christoph Lohmann 2013-02-19 15:51:25 +01:00
parent f4a6c20f46
commit 7f297e297c

2
st.c
View file

@ -2288,7 +2288,7 @@ xresize(int col, int row) {
void void
xloadcols(void) { xloadcols(void) {
int i, r, g, b; int i, r, g, b;
XRenderColor color = { .alpha = 0 }; XRenderColor color = { .alpha = 0xffff };
/* load colors [0-15] colors and [256-LEN(colorname)[ (config.h) */ /* load colors [0-15] colors and [256-LEN(colorname)[ (config.h) */
for(i = 0; i < LEN(colorname); i++) { for(i = 0; i < LEN(colorname); i++) {