tCorrecting the bitmask value check. - st - [fork] customized build of st, the simple terminal
(HTM) git clone git://src.adamsgaard.dk/st
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8d21ced08527e79489f37b7a4ad19355bca2207c
(DIR) parent 457969381869f9f3ecbb462bf40f053f2a748a02
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 20 Aug 2013 18:18:48 +0200
Correcting the bitmask value check.
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/st.c b/st.c
t@@ -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)