mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Make minor improvements
This commit is contained in:
parent
1fc91f3580
commit
b562d6fdb3
41 changed files with 1948 additions and 92 deletions
|
@ -31,6 +31,6 @@ int wcscasecmp(const wchar_t *a, const wchar_t *b) {
|
|||
size_t i = 0;
|
||||
unsigned x, y;
|
||||
if (a == b) return 0;
|
||||
while ((x = tolower(a[i])) == (y = tolower(b[i])) && b[i]) ++i;
|
||||
while ((x = towlower(a[i])) == (y = towlower(b[i])) && b[i]) ++i;
|
||||
return x - y;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue