aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptygfx.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-04-19 19:59:29 +0200
committerBoris Faure <billiob@gmail.com>2015-04-23 20:02:53 +0200
commitbe62d87f89e5e0ada3d8cbfe3dd091eeb9b45391 (patch)
tree5b56caddf7c7b372bff7759a04fad4ac458f36f5 /src/bin/termptygfx.c
parentterminology config - allow gst1 as vid mod config - adjust limit range (diff)
downloadterminology-be62d87f89e5e0ada3d8cbfe3dd091eeb9b45391.tar.gz
separate "termstate" from cursor state and screens. Closes https://phab.enlightenment.org/T725
Diffstat (limited to 'src/bin/termptygfx.c')
-rw-r--r--src/bin/termptygfx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/termptygfx.c b/src/bin/termptygfx.c
index 00ffabf..aababb8 100644
--- a/src/bin/termptygfx.c
+++ b/src/bin/termptygfx.c
@@ -34,9 +34,9 @@ static const unsigned short vt100_to_unicode[62] =
};
Eina_Unicode
-_termpty_charset_trans(Eina_Unicode g, Termstate *state)
+_termpty_charset_trans(Eina_Unicode g, Termpty *ty)
{
- switch (state->charsetch)
+ switch (ty->termstate.charsetch)
{
case '0': /* DEC Special Character & Line Drawing Set */
if ((g >= 0x41) && (g <= 0x7e) &&
@@ -49,7 +49,7 @@ _termpty_charset_trans(Eina_Unicode g, Termstate *state)
default:
break;
}
- if (state->att.fraktur)
+ if (ty->termstate.att.fraktur)
{
if (g >= 'a' && g <= 'z')
{