mirror of https://github.com/MidnightCommander/mc
Ticket #1650
fix: UNDO behavior when cursor besides EOL Signed-off-by: Ilia Maslakov <il.smind@google.com>
This commit is contained in:
parent
53b0f8546d
commit
4c64340111
|
@ -2191,7 +2191,7 @@ edit_do_undo (WEdit * edit)
|
|||
long count = 0;
|
||||
|
||||
edit->stack_disable = 1; /* don't record undo's onto undo stack! */
|
||||
|
||||
edit->over_col = 0;
|
||||
while ((ac = pop_action (edit)) < KEY_PRESS) {
|
||||
switch ((int) ac) {
|
||||
case STACK_BOTTOM:
|
||||
|
|
Loading…
Reference in New Issue