@Chairn
This commit is contained in:
def 2022-12-31 00:16:27 +01:00
parent 6691be1d90
commit c6339055b7

View file

@ -2842,7 +2842,7 @@ int str_comp_filenames(const char *a, const char *b)
return 1; return 1;
else if(*b >= '0' && *b <= '9') else if(*b >= '0' && *b <= '9')
return -1; return -1;
else if(!(!result && *a && *b)) else if(result || *a == '\0' || *b == '\0')
return result; return result;
} }