From 4c643401114698217418b21482875d60f3b61664 Mon Sep 17 00:00:00 2001 From: Ilia Maslakov Date: Wed, 30 Sep 2009 07:29:45 +0000 Subject: [PATCH] Ticket #1650 fix: UNDO behavior when cursor besides EOL Signed-off-by: Ilia Maslakov --- edit/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit/edit.c b/edit/edit.c index a8e9a640c..d365ea542 100644 --- a/edit/edit.c +++ b/edit/edit.c @@ -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: -- 2.11.4.GIT