mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
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…
x
Reference in New Issue
Block a user