[hackers] [st] Correcting the bitmask value check. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Tue, 20 Aug 2013 18:21:54 +0200

commit 8d21ced08527e79489f37b7a4ad19355bca2207c
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Tue Aug 20 18:18:48 2013 +0200

    Correcting the bitmask value check.

diff --git a/st.c b/st.c
index 1b01353..9733a9b 100644
--- a/st.c
+++ b/st.c
_AT_@ -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)
Received on Tue Aug 20 2013 - 18:21:54 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 20 2013 - 18:24:14 CEST