1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

When sending a line as non-pasted reset also paste_entry, bug #405.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4465 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-04-28 10:52:11 +00:00 committed by exg
parent 423fb7805b
commit 2f86e39e84

View File

@ -422,6 +422,7 @@ static int check_pasting(unichar key, int diff)
pasting or not. don't reset paste keycount, but
send this line as non-pasted */
g_array_set_size(paste_buffer, 0);
*paste_entry = '\0';
return FALSE;
}