summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-19 13:06:37 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-19 13:06:37 +0000
commitcf055cc1b213e41f8a69c89b586ab67938148111 (patch)
treed798210d69493759f4e86f5d1f83e36c27e2476a
parent38ea776f4705bec2a4288d4708678e4c5715332b (diff)
oops fix an oopsie id id that broke korean double with detection!
SVN revision: 74186
-rw-r--r--src/bin/termptydbl.c8
1 files 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)
33 (((g >> 12) == 0x4) && 33 (((g >> 12) == 0x4) &&
34 (((g >= 0x4e00) && (g <= 0x9fff)))) || 34 (((g >= 0x4e00) && (g <= 0x9fff)))) ||
35 // aXXX 35 // aXXX
36 (((g >> 12) == 0xa) && 36 ((((g >> 12) >= 0xa) && ((g >> 12) <= 0xd)) &&
37 (((g >= 0xa000) && (g <= 0xa4c6)) || 37 (((g >= 0xa000) && (g <= 0xa4c6)) ||
38 ((g >= 0xa960) && (g <= 0xa97c)) || 38 ((g >= 0xa960) && (g <= 0xa97c)) ||
39 ((g >= 0xac00) && (g <= 0xd7a3)))) || 39 ((g >= 0xac00) && (g <= 0xd7a3)) ||
40 // dXXX 40 ((g >= 0xd7b0) && (g <= 0xd7fb)))) ||
41 (((g >> 12) == 0xd) &&
42 (((g >= 0xd7b0) && (g <= 0xd7fb)))) ||
43 // fXXX 41 // fXXX
44 (((g >> 12) == 0xf) && 42 (((g >> 12) == 0xf) &&
45 (((g >= 0xf900) && (g <= 0xfaff)) || 43 (((g >= 0xf900) && (g <= 0xfaff)) ||