mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 14:43:03 +01:00
Make tab completion case sensitive
This commit is contained in:
parent
27e20d6f44
commit
7b734f3996
@ -164,7 +164,7 @@ static int complete_line_helper(ToxWindow *self, const char **list, const size_t
|
||||
|
||||
/* put all list matches in matches array */
|
||||
for (size_t i = 0; i < n_items; ++i) {
|
||||
if (strncasecmp(list[i], sub, s_len) == 0) {
|
||||
if (strncmp(list[i], sub, s_len) == 0) {
|
||||
snprintf(matches[n_matches++], MAX_STR_SIZE, "%s", list[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user