From 19c2a483e6f5407dd8d95f77361c98ac21db8d0a Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 20 Feb 1999 16:22:10 +0000 Subject: [PATCH] fix TOLOWER, it was equal to TOUPPER --- include/ac/ctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ac/ctype.h b/include/ac/ctype.h index b58d96fc6f..b5638fe97d 100644 --- a/include/ac/ctype.h +++ b/include/ac/ctype.h @@ -16,7 +16,7 @@ #ifdef C_UPPER_LOWER # define TOUPPER(c) (islower(c) ? toupper(c) : (c)) -# define TOLOWER(c) (islower(c) ? toupper(c) : (c)) +# define TOLOWER(c) (isupper(c) ? tolower(c) : (c)) #else # define TOUPPER(c) toupper(c) # define TOLOWER(c) tolower(c) -- 2.39.5