diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-01-09 13:19:37 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-01-09 13:19:37 +0100 |
commit | 17fc77565e3278ffc19c5294be57c2467f43974b (patch) | |
tree | bf303162bbd8e27a0fbd9181c6a7aaa090aac39f /src | |
parent | cbb931ed1da91b2cee36f89673edd6a526d56e9a (diff) | |
download | irssi-17fc77565e3278ffc19c5294be57c2467f43974b.zip |
fix regression in completion
fixes #609
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/completion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c index 76dfbb79..914ba80b 100644 --- a/src/fe-common/core/completion.c +++ b/src/fe-common/core/completion.c @@ -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); |