瀏覽代碼

Use != instead of ^ for logical values.

sel.alt is only changed by
	sel.alt = IS_SET(MODE_ALTSCREEN);
noname 11 年之前
父節點
當前提交
1b0b9759dc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      st.c

+ 1 - 1
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))