[dev] [st patch queue 03/12] Use != instead of ^ for logical values.

From: noname <noname_AT_inventati.org>
Date: Fri, 25 Apr 2014 18:26:34 +0400

sel.alt is only changed by
        sel.alt = IS_SET(MODE_ALTSCREEN);
---
 st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
index 35bbe9c..083d1c1 100644
--- a/st.c
+++ b/st.c
_AT_@ -3445,7 +3445,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))
-- 
1.8.4
Received on Fri Apr 25 2014 - 16:26:34 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 25 2014 - 16:36:14 CEST