mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-10 13:32:31 +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
c41a8182a9
commit
b42182b392
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user