13
0

Fix pasting automation at 0

This commit is contained in:
Robin Gareus 2017-07-27 03:22:21 +02:00
parent 3899c06fae
commit e91821bd76
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 ();
}