diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-12-23 23:31:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-12-23 23:31:50 (GMT) |
commit | e1074be4bf98ca2d9b91651693f0da2ee6c1042d (patch) | |
tree | 734ea4baca3122811a21881af45abe7a10d5a38f /generic/tclUniData.c | |
parent | ffa41c2677af95d32514e51ef9bf3cf2cdfcf29b (diff) | |
download | tcl-e1074be4bf98ca2d9b91651693f0da2ee6c1042d.zip tcl-e1074be4bf98ca2d9b91651693f0da2ee6c1042d.tar.gz tcl-e1074be4bf98ca2d9b91651693f0da2ee6c1042d.tar.bz2 |
[Bug 3464428] string is graph \u0120 is wrong
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 8d8efd1..5b735a4 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))) /* |