1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fix regression in completion

fixes #609
This commit is contained in:
ailin-nemui 2017-01-09 13:19:37 +01:00
parent cbb931ed1d
commit 17fc77565e

View File

@ -191,7 +191,7 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase, i
g_strdup_printf("%s%c%s",
/* do not accidentally duplicate the word separator */
line == wordstart - 1 ? "" : linestart,
wordstart[-1], word);
old_wordstart[-1], word);
g_free(old);
g_free(word);