Fix broken toupper_ascii()

Update copyright years.
This commit is contained in:
2017-05-06 10:55:10 +02:00
parent e25a880883
commit 9866675bb7
2 changed files with 2 additions and 2 deletions

View File

@@ -2639,7 +2639,7 @@ tolower_ascii (int c)
static int
toupper_ascii (int c)
{
return c >= 'A' && c <= 'Z' ? c : c - ('a' - 'A');
return c >= 'a' && c <= 'z' ? c - ('a' - 'A') : c;
}
TRIVIAL_STRXFRM (tolower_ascii_strxfrm, tolower_ascii)