diff options
author | LemonBoy <LemonBoy@users.noreply.github.com> | 2017-01-13 22:36:44 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-02-03 20:28:25 +0100 |
commit | d63c93ae1dbb1254a92e8e4fafc39fe8d69d00ae (patch) | |
tree | 62a2ad8056db9cce74e977aa875143ce5b9f4eeb /src | |
parent | 929c9477477a4ccf03626388499192d8003b96d5 (diff) | |
download | irssi-d63c93ae1dbb1254a92e8e4fafc39fe8d69d00ae.zip |
Merge pull request #613 from ailin-nemui/fix_completion
fix regression in completion
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); |