diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-12 09:59:35 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-12 09:59:35 +0000 |
commit | e1713c17cbf59ad13682f01e9b7b1907ad3a6078 (patch) | |
tree | 0eb94ecbab7bc74ed4df34acf849048493814722 | |
parent | 30aee7b46c3e7fb4a56b94a9093cfa6936eea046 (diff) | |
download | irssi-e1713c17cbf59ad13682f01e9b7b1907ad3a6078.zip |
After last change paste_entry includes the key before the one
that begins the pasting, so do not add the same key to paste_buffer,
otherwise it will show up twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4760 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-text/gui-readline.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 93bd1095..61c8ddc5 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -402,7 +402,6 @@ static int check_pasting(unichar key, int diff) g_array_set_size(paste_buffer, 0); if (prev_key != '\r' && prev_key != '\n') { paste_keycount++; - g_array_append_val(paste_buffer, prev_key); } } else if (paste_state > 0 && diff > paste_detect_time && paste_line_count == 0) { |