summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-readline.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2004-01-19 19:00:25 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-01-19 19:00:25 +0000
commitf239784fd0af42d1db1f62b242262e75e846ecc3 (patch)
tree8c6acdd428d5db38b73518dac475a4362940a162 /src/fe-text/gui-readline.c
parent4c1628e25dd9c884c6abcb363a90818df50df4ac (diff)
downloadirssi-f239784fd0af42d1db1f62b242262e75e846ecc3.zip
fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3207 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-readline.c')
-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 4b4ee96b..f72fc19b 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -241,6 +241,7 @@ static void paste_buffer_join_lines(GArray *buf)
memmove(last_lf_pos+1, last_lf_pos,
dest - last_lf_pos);
*last_lf_pos = '\n'; last_lf_pos = NULL;
+ line_len = 0;
dest++;
}
*dest++ = arr[i];