Fix build

This commit is contained in:
12pm 2019-02-10 19:20:08 +01:00
parent 74992d9bd7
commit 6d3e40760c

View file

@ -2739,13 +2739,13 @@ int str_utf8_comp_nocase(const char *a, const char *b)
int str_utf8_comp_nocase_num(const char *a, const char *b, int num)
{
if(num <= 0)
return 0;
int code_a;
int code_b;
const char *old_a = a;
if(num <= 0)
return 0;
while(*a && *b)
{
code_a = str_utf8_tolower(str_utf8_decode(&a));