diff options
author | noname <noname@inventati.org> | 2014-04-23 23:12:36 +0400 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-04-25 23:57:43 +0200 |
commit | 1b0b9759dca9739da04f5c8a206b2f8ee5ed8b25 (patch) | |
tree | aaf7ef199b5a205a3f7d6ef2082bc2c0b3ce208a /st.c | |
parent | 99d2d6007ace1d5558ee349224af275722fcc701 (diff) | |
download | st-1b0b9759dca9739da04f5c8a206b2f8ee5ed8b25.tar.gz |
Use != instead of ^ for logical values.
sel.alt is only changed by
sel.alt = IS_SET(MODE_ALTSCREEN);
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3457,7 +3457,7 @@ drawregion(int x1, int y1, int x2, int y2) { bool ena_sel = sel.ob.x != -1; long unicodep; - if(sel.alt ^ IS_SET(MODE_ALTSCREEN)) + if(sel.alt != IS_SET(MODE_ALTSCREEN)) ena_sel = 0; if(!(xw.state & WIN_VISIBLE)) |