summaryrefslogtreecommitdiffstats
path: root/mbbsd/convert.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-04 00:50:26 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-04 00:50:26 +0800
commita8b0ad07d3a241a9db85dd38c3a1d64811d72e56 (patch)
tree930816fd20d7590b34786290cc92b3164c5a6129 /mbbsd/convert.c
parentc887ad307c98ffca2825f9489b10eb442b1a6273 (diff)
downloadpttbbs-a8b0ad07d3a241a9db85dd38c3a1d64811d72e56.tar
pttbbs-a8b0ad07d3a241a9db85dd38c3a1d64811d72e56.tar.gz
pttbbs-a8b0ad07d3a241a9db85dd38c3a1d64811d72e56.tar.bz2
pttbbs-a8b0ad07d3a241a9db85dd38c3a1d64811d72e56.tar.lz
pttbbs-a8b0ad07d3a241a9db85dd38c3a1d64811d72e56.tar.xz
pttbbs-a8b0ad07d3a241a9db85dd38c3a1d64811d72e56.tar.zst
pttbbs-a8b0ad07d3a241a9db85dd38c3a1d64811d72e56.zip
- code refine: remove warnings and conditional compile
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3623 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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