summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index c48132a..4ed8319 100644
--- a/st.c
+++ b/st.c
@@ -944,7 +944,7 @@ getsel(void) {
944 ptr = str = xmalloc(bufsize); 944 ptr = str = xmalloc(bufsize);
945 945
946 /* append every set & selected glyph to the selection */ 946 /* append every set & selected glyph to the selection */
947 for(y = sel.nb.y; y < sel.ne.y + 1; y++) { 947 for(y = sel.nb.y; y <= sel.ne.y; y++) {
948 linelen = tlinelen(y); 948 linelen = tlinelen(y);
949 949
950 if(sel.type == SEL_RECTANGULAR) { 950 if(sel.type == SEL_RECTANGULAR) {