1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 19:53:25 +01:00

small fix

This commit is contained in:
Jfreegman 2013-12-08 16:10:52 -05:00
parent f67725f636
commit 9c2551b3b9

View File

@ -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;