From 837a524d9a79be513109b0e53dd6151bf2defb10 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 18 Mar 2021 07:28:38 -0600 Subject: 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(-) (limited to 'handy.h') diff --git a/handy.h b/handy.h index d516a163c5..434fe1178a 100644 --- a/handy.h +++ b/handy.h @@ -2031,7 +2031,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 -- cgit v1.2.1