Commit 6a32afa6 authored by Ivica Ico Bukvic's avatar Ivica Ico Bukvic
Browse files

improved behavior of paste/duplicate within the infinite undo in respect to intelligent offset

parent 5b9a3af3
......@@ -705,7 +705,7 @@ EXTERN void canvas_undo_move(t_canvas *x, void *z, int action);
/* --------- 5. paste ------------ */
EXTERN void *canvas_undo_set_paste(t_canvas *x, int offset);
EXTERN void *canvas_undo_set_paste(t_canvas *x, int offset, int duplicate, int d_offset);
EXTERN void canvas_undo_paste(t_canvas *x, void *z, int action);
/* --------- 6. apply ------------ */
......
......@@ -87,7 +87,7 @@ EXTERN void canvas_undo_move(t_canvas *x, void *z, int action);
/* --------- 5. paste ------------ */
EXTERN void *canvas_undo_set_paste(t_canvas *x, int offset);
EXTERN void *canvas_undo_set_paste(t_canvas *x, int offset, int duplicate, int d_offset);
EXTERN void canvas_undo_paste(t_canvas *x, void *z, int action);
/* --------- 6. apply ------------ */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment