]> Sergey Matveev's repositories - st.git/commitdiff
Correcting the bitmask value check.
authorChristoph Lohmann <20h@r-36.net>
Tue, 20 Aug 2013 16:18:48 +0000 (18:18 +0200)
committerChristoph Lohmann <20h@r-36.net>
Tue, 20 Aug 2013 16:18:48 +0000 (18:18 +0200)
st.c

diff --git a/st.c b/st.c
index 1b01353f904d21ae75f93dcb489c738de20b4ea0..9733a9be4368b0c66c46047dea4574c358df9eee 100644 (file)
--- 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)