forked from PsychoticNinja/irssi
Merge pull request #8 from ailin-nemui/ffrogman
Fix cursor getting stuck for auto completions that changes case
This commit is contained in:
commit
53b2e0775a
@ -104,7 +104,7 @@ char *auto_word_complete(const char *line, int *pos)
|
|||||||
|
|
||||||
/* check for words in autocompletion list */
|
/* check for words in autocompletion list */
|
||||||
replace = completion_find(word, TRUE);
|
replace = completion_find(word, TRUE);
|
||||||
if (replace == NULL) {
|
if (replace == NULL || (!g_strcmp0(replace, word))) {
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
g_string_free(result, TRUE);
|
g_string_free(result, TRUE);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user