implemented a case insensitive strncmp

This commit is contained in:
aap
2016-02-25 00:30:26 +01:00
parent 41226ef0c6
commit cb40fd1555
4 changed files with 21 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ TexDictionary::find(const char *name)
{
FORLIST(lnk, this->textures){
Texture *tex = Texture::fromDict(lnk);
if(strncmp(tex->name, name, 32) == 0)
if(strncmp_ci(tex->name, name, 32) == 0)
return tex;
}
return NULL;