X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=506be0f2b274dbcc22fc40feb89cfc76949d2eb0;hp=6424b54249064cebb986760e229bbe0694f5960a;hb=2411308bd24c4db97a3bb06d38f183a679aec1ea;hpb=d03aa8d20bcc8a94a7737331a9ec0bf11df3e572 diff --git a/st.c b/st.c index 6424b54..506be0f 100644 --- a/st.c +++ b/st.c @@ -949,7 +949,7 @@ getsel(void) { * st. * FIXME: Fix the computer world. */ - if(y < sel.ne.y && x > 0 && !((gp-1)->mode & ATTR_WRAP)) + if(y < sel.ne.y && !(x > 0 && (gp-1)->mode & ATTR_WRAP)) *ptr++ = '\n'; /*