pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99d2d60
)
Use != instead of ^ for logical values.
author
noname
<noname@inventati.org>
Wed, 23 Apr 2014 19:12:36 +0000
(23:12 +0400)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Fri, 25 Apr 2014 21:57:43 +0000
(23:57 +0200)
sel.alt is only changed by
sel.alt = IS_SET(MODE_ALTSCREEN);
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
1a2b1dd
..
ff9bdd8
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-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))