diff options
author | Clive Lin <clive@FreeBSD.org> | 2002-01-02 13:44:34 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2002-01-02 13:44:34 +0000 |
commit | 70f1ecbdf01c46ffa4baa3ac5d174d7e43e5f241 (patch) | |
tree | 3a280972edca4f3ee16bf8335d4e46c31631966a /chinese/bitchx | |
parent | Don't assume that strnstr(3) exists in the system libc. This should fix the (diff) |
Fix a wrong comment. I've introduced encoding range of Big5+ in rev 1.3.
Found by: Yet another boring multibytes digging task within my company.
Notes
Notes:
svn path=/head/; revision=52495
Diffstat (limited to 'chinese/bitchx')
-rw-r--r-- | chinese/bitchx/files/patch-include::config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chinese/bitchx/files/patch-include::config.h b/chinese/bitchx/files/patch-include::config.h index 5aad1f5565a4..8b1f2e5613e6 100644 --- a/chinese/bitchx/files/patch-include::config.h +++ b/chinese/bitchx/files/patch-include::config.h @@ -61,7 +61,7 @@ + * clive@FreeBSD.org + */ +#ifdef WANT_BIG5 -+/* XXX I didn't check the encoding range of big5+. This is standard big5. */ ++/* Encoding range below belongs to Big5+ */ +#define is_big5_los(lo) (((char)0x40<=lo)&&(lo<=(char)0x7E)) /* standard */ +#define is_big5_lox(lo) (((char)0x80<=lo)&&(lo<=(char)0xFE)) /* extended */ +#define is_big5_hi(hi) (((char)0x81<=hi)&&(hi<=(char)0xFE)) |