diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-08-20 18:18:48 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-08-20 18:18:48 +0200 |
commit | 8d21ced08527e79489f37b7a4ad19355bca2207c (patch) | |
tree | 2de104cc3ba8ec9f02bf5d9c749e5569bf12b1f8 | |
parent | 457969381869f9f3ecbb462bf40f053f2a748a02 (diff) | |
download | st-patched-8d21ced08527e79489f37b7a4ad19355bca2207c.tar.bz2 st-patched-8d21ced08527e79489f37b7a4ad19355bca2207c.tar.xz st-patched-8d21ced08527e79489f37b7a4ad19355bca2207c.zip |
Correcting the bitmask value check.
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3714,7 +3714,7 @@ main(int argc, char *argv[]) { | |||
3714 | xw.fh = (int)hr; | 3714 | xw.fh = (int)hr; |
3715 | if(bitm & XNegative && xw.fx == 0) | 3715 | if(bitm & XNegative && xw.fx == 0) |
3716 | xw.fx = -1; | 3716 | xw.fx = -1; |
3717 | if(bitm & XNegative && xw.fy == 0) | 3717 | if(bitm & YNegative && xw.fy == 0) |
3718 | xw.fy = -1; | 3718 | xw.fy = -1; |
3719 | 3719 | ||
3720 | if(xw.fh != 0 && xw.fw != 0) | 3720 | if(xw.fh != 0 && xw.fw != 0) |