X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FMacCompatibility.cpp;h=e82b1b758e276f99e4b18e8c2c56da1623ee5292;hb=1aef858f5ecb3dc8fd816e0155635371ed3632f2;hp=8a295fddd281bf1dc96e5c6032a864cfeab1b44c;hpb=44146d06c780d3aaa283672fedb08b8870ebe1b9;p=lugaru.git diff --git a/Source/MacCompatibility.cpp b/Source/MacCompatibility.cpp index 8a295fd..e82b1b7 100644 --- a/Source/MacCompatibility.cpp +++ b/Source/MacCompatibility.cpp @@ -179,7 +179,7 @@ static int locateOneElement(char *buf) struct dirent *dent; while ((dent = readdir(dirp)) != NULL) { - if (stricmp(dent->d_name, ptr) == 0) + if (strcasecmp(dent->d_name, ptr) == 0) { strcpy(ptr, dent->d_name); /* found a match. Overwrite with this case. */ closedir(dirp);