mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Remove unneeded resets of paste_keycount (check_pasting will reset it
at the next call). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4670 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f7856f2071
commit
7b08caa814
@ -333,7 +333,6 @@ static void paste_flush(int send)
|
||||
|
||||
paste_line_count = 0;
|
||||
paste_state = 0;
|
||||
paste_keycount = 0;
|
||||
|
||||
gui_entry_redraw(active_entry);
|
||||
}
|
||||
@ -412,7 +411,6 @@ static int check_pasting(unichar key, int diff)
|
||||
paste_line_count == 0) {
|
||||
/* reset paste state */
|
||||
paste_state = 0;
|
||||
paste_keycount = 0;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user