Fix pasting automation at 0
This commit is contained in:
parent
3899c06fae
commit
e91821bd76
@ -353,7 +353,7 @@ Editor::Editor ()
|
||||
, cut_buffer_start (0)
|
||||
, cut_buffer_length (0)
|
||||
, button_bindings (0)
|
||||
, last_paste_pos (0)
|
||||
, last_paste_pos (-1)
|
||||
, paste_count (0)
|
||||
, sfbrowser (0)
|
||||
, current_interthread_info (0)
|
||||
|
@ -4279,7 +4279,7 @@ Editor::cut_copy (CutCopyOp op)
|
||||
if (did_edit) {
|
||||
/* reset repeated paste state */
|
||||
paste_count = 0;
|
||||
last_paste_pos = 0;
|
||||
last_paste_pos = -1;
|
||||
commit_reversible_command ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user