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

Merge pull request #613 from ailin-nemui/fix_completion

fix regression in completion
This commit is contained in:
LemonBoy 2017-01-13 22:36:44 +01:00 committed by ailin-nemui
parent 929c947747
commit d63c93ae1d

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);