aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index df58e9e..c3a04c5 100644
--- a/st.c
+++ b/st.c
@@ -962,7 +962,7 @@ selcopy(void) {
962 * st. 962 * st.
963 * FIXME: Fix the computer world. 963 * FIXME: Fix the computer world.
964 */ 964 */
965 if(y < sel.ne.y && !((gp-1)->mode & ATTR_WRAP)) 965 if(y < sel.ne.y && x > 0 && !((gp-1)->mode & ATTR_WRAP))
966 *ptr++ = '\n'; 966 *ptr++ = '\n';
967 967
968 /* 968 /*