termptydbl: fix comparison.

This commit is contained in:
Boris Faure 2019-05-01 13:11:56 +02:00
parent 35b6f3c630
commit fd27c910b1
1 changed files with 4 additions and 2 deletions

View File

@ -92,12 +92,14 @@ _termpty_is_dblwidth_slow_get(const Termpty *ty, int g)
((g >= 0x2600) && (g <= 0x262F)) ||
((g >= 0x2638) && (g <= 0x27EF)) ||
((g >= 0x2900) && (g <= 0x29FF)) ||
((g >= 0x2B50)) ||
((g >= 0x2B55)) ||
((g == 0x2B50)) ||
((g == 0x2B55)) ||
((g >= 0x2C60) && (g <= 0x2C7F)) ||
((g >= 0x2E00) && (g <= 0x2E7F)) ||
((g >= 0x3000) && (g <= 0x303F)) ||
((g >= 0xA490) && (g <= 0xA4CF)) ||
((g >= 0xFE00) && (g <= 0xFE0F)) ||
((g >= 0xFE30) && (g <= 0xFE4F)) ||
((g >= 0x1F000) && (g <= 0x1F02F)) ||
((g >= 0x1F0A0) && (g <= 0x1F0FF)) ||
((g >= 0x1F100) && (g <= 0x1F64F)) ||