mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 04:23:38 +01:00
fix: strcasecmp() return value being case-sensitive
This commit is contained in:
parent
8cedf411c4
commit
c16a1a3be6
1 changed files with 1 additions and 1 deletions
|
@ -7,5 +7,5 @@ int strcasecmp(const char *s1, const char *s2)
|
||||||
s1 += 1;
|
s1 += 1;
|
||||||
s2 += 1;
|
s2 += 1;
|
||||||
}
|
}
|
||||||
return (*s1 - *s2);
|
return tolower(*s1) - tolower(*s2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue