mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 19:53:25 +01:00
small fix
This commit is contained in:
parent
f67725f636
commit
9c2551b3b9
@ -299,6 +299,9 @@ int complete_line(wchar_t *buf, size_t *pos, size_t *len, const uint8_t *list, i
|
||||
n_endchrs = 2;
|
||||
}
|
||||
|
||||
if (string_is_empty(sub))
|
||||
return -1;
|
||||
|
||||
int s_len = strlen(sub);
|
||||
const uint8_t *match;
|
||||
bool is_match = false;
|
||||
|
Loading…
Reference in New Issue
Block a user