mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix build
This commit is contained in:
parent
74992d9bd7
commit
6d3e40760c
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue