aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 6424b54..506be0f 100644
--- a/st.c
+++ b/st.c
@@ -949,7 +949,7 @@ getsel(void) {
949 * st. 949 * st.
950 * FIXME: Fix the computer world. 950 * FIXME: Fix the computer world.
951 */ 951 */
952 if(y < sel.ne.y && x > 0 && !((gp-1)->mode & ATTR_WRAP)) 952 if(y < sel.ne.y && !(x > 0 && (gp-1)->mode & ATTR_WRAP))
953 *ptr++ = '\n'; 953 *ptr++ = '\n';
954 954
955 /* 955 /*