(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
parent c41a8182a9
commit b42182b392

View File

@ -1427,10 +1427,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)
{
@ -1501,9 +1503,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)
{