summaryrefslogtreecommitdiff
path: root/src/fe-text/term-terminfo.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-10-19 19:09:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-10-19 19:09:51 +0000
commit7eb2fc70e38ee3d5809d5171b3e38012ece7cb9e (patch)
tree6d8c42408ebc3ae666acd2868e56fc54c02a5895 /src/fe-text/term-terminfo.c
parent6122035f2f4fa7c0265375d61e8310b0d91a5b92 (diff)
downloadirssi-7eb2fc70e38ee3d5809d5171b3e38012ece7cb9e.zip
BIG5 fixes by vanilla@FreeBSD.org(?)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3134 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term-terminfo.c')
-rw-r--r--src/fe-text/term-terminfo.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c
index 311b2499..2db5b2bb 100644
--- a/src/fe-text/term-terminfo.c
+++ b/src/fe-text/term-terminfo.c
@@ -564,12 +564,6 @@ static int input_utf8(const unsigned char *buffer, int size, unichar *result)
}
}
-/* XXX I didn't check the encoding range of big5+. This is standard big5. */
-#define is_big5_los(lo) (0x40 <= (lo) && (lo) <= 0x7E) /* standard */
-#define is_big5_lox(lo) (0x80 <= (lo) && (lo) <= 0xFE) /* extended */
-#define is_big5_hi(hi) (0x81 <= (hi) && (hi) <= 0xFE)
-#define is_big5(hi,lo) (is_big5_hi(hi) && (is_big5_los(lo) || is_big5_lox(lo)))
-
static int input_big5(const unsigned char *buffer, int size, unichar *result)
{
if (is_big5_hi(*buffer)) {