newlib: fix iswupper_l in !_MB_CAPABLE case

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-03-27 12:35:27 +02:00
parent ee49870a7d
commit 1ee6654e50
1 changed files with 1 additions and 1 deletions

View File

@ -15,6 +15,6 @@ iswupper_l (wint_t c, struct __locale_t *locale)
enum category cat = category (c);
return cat == CAT_Lu || (cat == CAT_LC && towupper (c) == c);
#else
return c < 0x100 ? islower (c) : 0;
return c < 0x100 ? isupper (c) : 0;
#endif /* _MB_CAPABLE */
}