aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-03-13 11:23:03 +0100
committerBoris Faure <billiob@gmail.com>2018-03-13 11:23:03 +0100
commitbc6ed7ac92a525b298f4e6ec443664091070c13c (patch)
tree67f5f9a151bd908e167cad705e2624f95029d479 /src
parentsupport encircled escape code. Closes T6769 (diff)
downloadterminology-bc6ed7ac92a525b298f4e6ec443664091070c13c.tar.gz
termptygfx: fix stupid bug when printing encircled numbers
Diffstat (limited to 'src')
-rw-r--r--src/bin/termptygfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termptygfx.c b/src/bin/termptygfx.c
index afb7115..055a47c 100644
--- a/src/bin/termptygfx.c
+++ b/src/bin/termptygfx.c
@@ -72,7 +72,7 @@ _termpty_charset_trans(const Termpty *ty, Eina_Unicode g)
}
else if (g >= '1' && g <= '9')
{
- g += 0x2460 - '0';
+ g += 0x2460 - '1';
}
else if (g == '0')
g = 0x24ea;