aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-02-19 15:51:25 +0100
committerChristoph Lohmann <20h@r-36.net>2013-02-19 15:51:25 +0100
commit7f297e297ccec99a66b7af46e2b1725545ba3746 (patch)
treeb6de81834a088be2e9f4212f37328fedf5f42372
parentf4a6c20f464df79a9b15b4a2a11daaa7a06c60a0 (diff)
downloadst-patched-7f297e297ccec99a66b7af46e2b1725545ba3746.tar.bz2
st-patched-7f297e297ccec99a66b7af46e2b1725545ba3746.tar.xz
st-patched-7f297e297ccec99a66b7af46e2b1725545ba3746.zip
Fixing the reverse mode of st colors.
Thanks Alexander Sedov <alex0player@gmail.com> for finding this!
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 64366af..8320695 100644
--- a/st.c
+++ b/st.c
@@ -2288,7 +2288,7 @@ xresize(int col, int row) {
2288void 2288void
2289xloadcols(void) { 2289xloadcols(void) {
2290 int i, r, g, b; 2290 int i, r, g, b;
2291 XRenderColor color = { .alpha = 0 }; 2291 XRenderColor color = { .alpha = 0xffff };
2292 2292
2293 /* load colors [0-15] colors and [256-LEN(colorname)[ (config.h) */ 2293 /* load colors [0-15] colors and [256-LEN(colorname)[ (config.h) */
2294 for(i = 0; i < LEN(colorname); i++) { 2294 for(i = 0; i < LEN(colorname); i++) {