newlib: fix iswupper_l in !_MB_CAPABLE case
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
ee49870a7d
commit
1ee6654e50
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue