mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
parent
6691be1d90
commit
c6339055b7
|
@ -2842,7 +2842,7 @@ int str_comp_filenames(const char *a, const char *b)
|
|||
return 1;
|
||||
else if(*b >= '0' && *b <= '9')
|
||||
return -1;
|
||||
else if(!(!result && *a && *b))
|
||||
else if(result || *a == '\0' || *b == '\0')
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue