diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-12-24 00:15:37 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-12-24 00:15:37 (GMT) |
commit | 3eb4e211faa5a931a5f1d9c6a013e3d187cdc329 (patch) | |
tree | 80b45dd8b018a2a406128e2d65dd5ba6641eb428 /generic/tclUniData.c | |
parent | 55934bb8114e72c7f948f4551f3a5f2d12ed2e07 (diff) | |
parent | 184c238ce1d719c6e33e5c99cb601710a55eb38f (diff) | |
download | tcl-3eb4e211faa5a931a5f1d9c6a013e3d187cdc329.zip tcl-3eb4e211faa5a931a5f1d9c6a013e3d187cdc329.tar.gz tcl-3eb4e211faa5a931a5f1d9c6a013e3d187cdc329.tar.bz2 |
[Bug 3464428] string is graph \u0120 is wrong
FossilOrigin-Name: 005fc77cde8bf71bb89a9498c56e9b1bb9d1dc85
Diffstat (limited to 'generic/tclUniData.c')
-rw-r--r-- | generic/tclUniData.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclUniData.c b/generic/tclUniData.c index a06e84d..896580c 100644 --- a/generic/tclUniData.c +++ b/generic/tclUniData.c @@ -775,7 +775,7 @@ static const int groups[] = { * Unicode character. */ -#define UNICODE_CATEGORY_MASK 0x1F +#define UNICODE_CATEGORY_MASK 0x1f #define UNICODE_OUT_OF_RANGE 0x10000u enum { @@ -817,8 +817,8 @@ enum { * to do sign extension on right shifts. */ -#define GetCaseType(info) (((info) & 0xE0) >> 5) -#define GetCategory(ch) (GetUniCharInfo(ch) & 0x1F) +#define GetCaseType(info) (((info) & 0xe0) >> 5) +#define GetCategory(ch) (GetUniCharInfo(ch) & 0x1f) #define GetDelta(info) (((info) > 0) ? ((info) >> 15) : (~(~((info)) >> 15))) /* |