aboutsummaryrefslogtreecommitdiff
path: root/chinese/bitchx
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2002-01-02 13:44:34 +0000
committerClive Lin <clive@FreeBSD.org>2002-01-02 13:44:34 +0000
commit70f1ecbdf01c46ffa4baa3ac5d174d7e43e5f241 (patch)
tree3a280972edca4f3ee16bf8335d4e46c31631966a /chinese/bitchx
parent64761a0ec5b79b8a1fac3c39e5f4e3540f6cd9c0 (diff)
downloadports-70f1ecbdf01c46ffa4baa3ac5d174d7e43e5f241.tar.gz
ports-70f1ecbdf01c46ffa4baa3ac5d174d7e43e5f241.zip
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.h2
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))