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 2e55963..8b65450 100644
--- a/st.c
+++ b/st.c
@@ -670,7 +670,7 @@ static void
670selnormalize(void) { 670selnormalize(void) {
671 int i; 671 int i;
672 672
673 if(sel.ob.y == sel.oe.y) { 673 if(sel.ob.y == sel.oe.y || sel.type == SEL_RECTANGULAR) {
674 sel.nb.x = MIN(sel.ob.x, sel.oe.x); 674 sel.nb.x = MIN(sel.ob.x, sel.oe.x);
675 sel.ne.x = MAX(sel.ob.x, sel.oe.x); 675 sel.ne.x = MAX(sel.ob.x, sel.oe.x);
676 } else { 676 } else {