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:
parent
929c947747
commit
d63c93ae1d
@ -191,7 +191,7 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase, i
|
|||||||
g_strdup_printf("%s%c%s",
|
g_strdup_printf("%s%c%s",
|
||||||
/* do not accidentally duplicate the word separator */
|
/* do not accidentally duplicate the word separator */
|
||||||
line == wordstart - 1 ? "" : linestart,
|
line == wordstart - 1 ? "" : linestart,
|
||||||
wordstart[-1], word);
|
old_wordstart[-1], word);
|
||||||
g_free(old);
|
g_free(old);
|
||||||
|
|
||||||
g_free(word);
|
g_free(word);
|
||||||
|
Loading…
Reference in New Issue
Block a user