1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-05 03:40:42 +00:00

Fix CID 39905, 39906, 39907: Operands don't affect result.

This commit is contained in:
Renaud 2015-03-19 14:29:24 +08:00
parent 9b40894342
commit 7f7cc5b6fd

View File

@ -257,11 +257,11 @@
#else #else
#define isletter(c) isxletter((0xFF & (c))) #define isletter(c) __isxletter((0xFF & (c)))
#define islower(c) isxlower((0xFF & (c))) #define islower(c) isxlower((0xFF & (c)))
#define isupper(c) isxupper((0xFF & (c))) #define isupper(c) isxupper((0xFF & (c)))
#define isxletter(c) (('a' <= c && LASTLL >= c) || ('A' <= c && LASTUL >= c) || (192<=c && c<=255)) #define __isxletter(c) (('a' <= c && LASTLL >= c) || ('A' <= c && LASTUL >= c) || (192<=c /* && c<=255 */))
#define isxlower(c) (('a' <= c && LASTLL >= c) || (224 <= c && 252 >= c)) #define isxlower(c) (('a' <= c && LASTLL >= c) || (224 <= c && 252 >= c))
#define isxupper(c) (('A' <= c && LASTUL >= c) || (192 <= c && 220 >= c)) #define isxupper(c) (('A' <= c && LASTUL >= c) || (192 <= c && 220 >= c))