mirror of
https://github.com/aap/librw.git
synced 2025-12-22 02:19:56 +00:00
implemented a case insensitive strncmp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user