summaryrefslogtreecommitdiffstats
path: root/sys/teken/teken.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-09-26 15:03:42 +0000
committered <ed@FreeBSD.org>2009-09-26 15:03:42 +0000
commita2eab704dfd8ad56039a95219c7462c5d84c721e (patch)
tree6863fdee18fcbc7e0990ca1ad1c8e0f4518fd94a /sys/teken/teken.c
parent886b080b113cd558f4985cfa6b6ec3a58a751987 (diff)
downloadFreeBSD-src-a2eab704dfd8ad56039a95219c7462c5d84c721e.zip
FreeBSD-src-a2eab704dfd8ad56039a95219c7462c5d84c721e.tar.gz
Get rid of now deprecated SCS wrappers.
We always build SCS, even when processing 8-bit data. There is no reason why we should be able to disable it now.
Diffstat (limited to 'sys/teken/teken.c')
-rw-r--r--sys/teken/teken.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/teken/teken.c b/sys/teken/teken.c
index c928510..f44969d 100644
--- a/sys/teken/teken.c
+++ b/sys/teken/teken.c
@@ -196,13 +196,13 @@ teken_input_char(teken_t *t, teken_char_t c)
if (t->t_stateflags & TS_CONS25)
t->t_nextstate(t, c);
else
- teken_scs_switch(t, 1);
+ t->t_curscs = 1;
break;
case '\x0F':
if (t->t_stateflags & TS_CONS25)
t->t_nextstate(t, c);
else
- teken_scs_switch(t, 0);
+ t->t_curscs = 0;
break;
case '\r':
teken_subr_carriage_return(t);
OpenPOWER on IntegriCloud