mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
(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:
parent
ce0e129891
commit
45a4197fa6
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user