(edit_do_undo): cleanup of labeled statement usage.

(edit_do_redo): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-08-19 10:43:47 +04:00 committed by Slava Zanko
parent ce0e129891
commit 45a4197fa6

View File

@ -1311,10 +1311,12 @@ edit_do_undo (WEdit * edit)
edit->start_display = ac - KEY_PRESS; /* see push and pop above */
edit_update_curs_row (edit);
done_undo:;
done_undo:
edit->undo_stack_disable = 0;
}
/* --------------------------------------------------------------------------------------------- */
static void
edit_do_redo (WEdit * edit)
{
@ -1385,9 +1387,12 @@ edit_do_redo (WEdit * edit)
edit->start_display = ac - KEY_PRESS; /* see push and pop above */
edit_update_curs_row (edit);
done_redo:;
done_redo:
;
}
/* --------------------------------------------------------------------------------------------- */
static void
edit_group_undo (WEdit * edit)
{