diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-04 03:37:23 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-04 03:37:23 +0800 |
commit | ea5f148819c3986ef751dce5d83d9314f920b10c (patch) | |
tree | 8e07d0610d342b3de83dbc1d9cc83e725a61f34d /mbbsd/convert.c | |
parent | 64abee05405680452d0e7d8b7237d6de0cb12cdf (diff) | |
download | pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.gz pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.bz2 pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.lz pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.xz pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.zst pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.zip |
- add option to support both coloured and symboled modification mark (~ and +)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/convert.c')
-rw-r--r-- | mbbsd/convert.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c index acb61c03..e5d0f07b 100644 --- a/mbbsd/convert.c +++ b/mbbsd/convert.c @@ -94,7 +94,10 @@ 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; + +// enable this in case some day we want to detect +// current type. but right now disable for less memory cost +// int bbs_convert_type = CONV_NORMAL; void set_converting_type(int which) { @@ -114,7 +117,7 @@ void set_converting_type(int which) write_type = utf8_write; input_type = utf8_input; } - bbs_convert_type = which; + // bbs_convert_type = which; } #endif |