diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -670,7 +670,7 @@ static void | |||
| 670 | selnormalize(void) { | 670 | selnormalize(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 { |
