mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Fix cursor getting stuck for auto completions that exclusively change the case of letters
This commit is contained in:
parent
ca9fcbc124
commit
700ec4c472
@ -104,7 +104,7 @@ char *auto_word_complete(const char *line, int *pos)
|
||||
|
||||
/* check for words in autocompletion list */
|
||||
replace = completion_find(word, TRUE);
|
||||
if (replace == NULL) {
|
||||
if (replace == NULL || (!g_strcmp0(replace, word))) {
|
||||
ret = NULL;
|
||||
g_string_free(result, TRUE);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user