diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-01-21 11:06:46 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-01-21 11:06:46 +0000 |
commit | 7b08caa814597b9fa669d13a2415130d27d6e618 (patch) | |
tree | bd2e5ad0039868d6ff1427ef1d4f9ef36a988a9e /src | |
parent | f7856f207194b94efe26c5e2c9e195a40a50db9b (diff) | |
download | irssi-7b08caa814597b9fa669d13a2415130d27d6e618.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-readline.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index f3eda41b..476fe9b8 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -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; } |