summaryrefslogtreecommitdiffstats
path: root/mbbsd/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/convert.c')
-rw-r--r--mbbsd/convert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c
index c1e18869..acb61c03 100644
--- a/mbbsd/convert.c
+++ b/mbbsd/convert.c
@@ -94,6 +94,7 @@ norm_input(void *buf, ssize_t icount)
read_write_type write_type = (read_write_type)write;
read_write_type read_type = read;
convert_type input_type = norm_input;
+int bbs_convert_type = CONV_NORMAL;
void set_converting_type(int which)
{
@@ -113,6 +114,7 @@ void set_converting_type(int which)
write_type = utf8_write;
input_type = utf8_input;
}
+ bbs_convert_type = which;
}
#endif