From bf3820e06e8699cb4b1eae6e2559279806c8f74d Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 18 Mar 2021 07:28:38 -0600 Subject: [PATCH] handy.h: #define one macro in terms of another These two macros are equivalent as folding and lowercasing are the same for this input domain. Better to say so rather than to replicate the definitions. --- handy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handy.h b/handy.h index 3dbd1388d25c..66f3ee86601c 100644 --- a/handy.h +++ b/handy.h @@ -2015,7 +2015,7 @@ END_EXTERN_C # define toLOWER_LC(c) (isascii(c) ? tolower(c) : (c)) # define toUPPER_LC(c) (isascii(c) ? toupper(c) : (c)) -# define toFOLD_LC(c) (isascii(c) ? tolower(c) : (c)) +# define toFOLD_LC(c) toLOWER_LC(c) #endif