fix: UNDO behavior when cursor besides EOL

Signed-off-by: Ilia Maslakov <il.smind@google.com>
This commit is contained in:
Ilia Maslakov 2009-09-30 07:29:45 +00:00
parent 53b0f8546d
commit 4c64340111
1 changed files with 1 additions and 1 deletions

View File

@ -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: