From 9416050e096cda544ecfac8cd695f172063e4d97 Mon Sep 17 00:00:00 2001 From: raster Date: Thu, 19 Jul 2012 13:06:37 +0000 Subject: [PATCH] oops fix an oopsie id id that broke korean double with detection! git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@74186 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/termptydbl.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/bin/termptydbl.c b/src/bin/termptydbl.c index 8c28150..c490b1d 100644 --- a/src/bin/termptydbl.c +++ b/src/bin/termptydbl.c @@ -33,13 +33,11 @@ _termpty_is_dblwidth_get(Termpty *ty, int g) (((g >> 12) == 0x4) && (((g >= 0x4e00) && (g <= 0x9fff)))) || // aXXX - (((g >> 12) == 0xa) && + ((((g >> 12) >= 0xa) && ((g >> 12) <= 0xd)) && (((g >= 0xa000) && (g <= 0xa4c6)) || ((g >= 0xa960) && (g <= 0xa97c)) || - ((g >= 0xac00) && (g <= 0xd7a3)))) || - // dXXX - (((g >> 12) == 0xd) && - (((g >= 0xd7b0) && (g <= 0xd7fb)))) || + ((g >= 0xac00) && (g <= 0xd7a3)) || + ((g >= 0xd7b0) && (g <= 0xd7fb)))) || // fXXX (((g >> 12) == 0xf) && (((g >= 0xf900) && (g <= 0xfaff)) || -- 2.7.4