diff -ur mc-4.8.12.orig/lib/widget/input.c mc-4.8.12/lib/widget/input.c
old
|
new
|
|
754 | 754 | forward_word (in); |
755 | 755 | break; |
756 | 756 | case CK_BackSpace: |
757 | | if (in->highlight) |
| 757 | if (in->highlight && in->point != in->mark) |
758 | 758 | { |
759 | 759 | long m1, m2; |
760 | 760 | if (input_eval_marks (in, &m1, &m2)) |
… |
… |
|
766 | 766 | case CK_Delete: |
767 | 767 | if (in->first) |
768 | 768 | port_region_marked_for_delete (in); |
769 | | else if (in->highlight) |
| 769 | else if (in->highlight && in->point != in->mark) |
770 | 770 | { |
771 | 771 | long m1, m2; |
772 | 772 | if (input_eval_marks (in, &m1, &m2)) |