Piotr Caban (@piotr) commented about dlls/msvcrt/mbcs.c:
while (len)
{
int clen;
if (!*str)
return *cmp ? -1 : 0;
if (!*cmp)
return 1;
if (_ismbblead_l(*str, locale))
{
strc = (len >= 2) ? _mbsnextc_l(str, locale) : 0;
clen = 2;
}
else
{
strc=*str;
clen=1;
```suggestion:-1+0 strc = *str; clen = 1; ```