aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-08-20 18:18:48 +0200
committerChristoph Lohmann <20h@r-36.net>2013-08-20 18:18:48 +0200
commit8d21ced08527e79489f37b7a4ad19355bca2207c (patch)
tree2de104cc3ba8ec9f02bf5d9c749e5569bf12b1f8 /st.c
parent457969381869f9f3ecbb462bf40f053f2a748a02 (diff)
downloadst-8d21ced08527e79489f37b7a4ad19355bca2207c.tar.gz
st-8d21ced08527e79489f37b7a4ad19355bca2207c.tar.bz2
st-8d21ced08527e79489f37b7a4ad19355bca2207c.zip
Correcting the bitmask value check.
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 1b01353..9733a9b 100644
--- a/st.c
+++ b/st.c
@@ -3714,7 +3714,7 @@ main(int argc, char *argv[]) {
xw.fh = (int)hr;
if(bitm & XNegative && xw.fx == 0)
xw.fx = -1;
- if(bitm & XNegative && xw.fy == 0)
+ if(bitm & YNegative && xw.fy == 0)
xw.fy = -1;
if(xw.fh != 0 && xw.fw != 0)