This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
st
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Use != instead of ^ for logical values.
sel.alt is only changed by sel.alt = IS_SET(MODE_ALTSCREEN);
master
noname
10 years ago
committed by
Roberto E. Vargas Caballero
parent
99d2d6007a
commit
1b0b9759dc
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
st.c
+ 1
- 1
st.c
View File
@ -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
)
)
Write
Preview
Loading…
Cancel
Save