summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-04-28 10:52:11 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-04-28 10:52:11 +0000
commit2f86e39e84534127aec2d8c3a2747cfe3db22682 (patch)
treee6ff36b4a7bc83c26d11b6f8e690c42654c0f034 /src/fe-text
parent423fb7805b5bb4f873af0ec26b3436a83fcd64e9 (diff)
downloadirssi-2f86e39e84534127aec2d8c3a2747cfe3db22682.zip
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
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-readline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index cde03cdc..db9b9688 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -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;
}