diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-02-19 15:51:25 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-02-19 15:51:25 +0100 |
commit | 7f297e297ccec99a66b7af46e2b1725545ba3746 (patch) | |
tree | b6de81834a088be2e9f4212f37328fedf5f42372 | |
parent | f4a6c20f464df79a9b15b4a2a11daaa7a06c60a0 (diff) | |
download | st-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2288,7 +2288,7 @@ xresize(int col, int row) { | |||
2288 | void | 2288 | void |
2289 | xloadcols(void) { | 2289 | xloadcols(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++) { |