Correcting the bitmask value check.

This commit is contained in:
Christoph Lohmann 2013-08-20 18:18:48 +02:00
parent 4579693818
commit 8d21ced085

2
st.c
View file

@ -3714,7 +3714,7 @@ main(int argc, char *argv[]) {
xw.fh = (int)hr; xw.fh = (int)hr;
if(bitm & XNegative && xw.fx == 0) if(bitm & XNegative && xw.fx == 0)
xw.fx = -1; xw.fx = -1;
if(bitm & XNegative && xw.fy == 0) if(bitm & YNegative && xw.fy == 0)
xw.fy = -1; xw.fy = -1;
if(xw.fh != 0 && xw.fw != 0) if(xw.fh != 0 && xw.fw != 0)