summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/convert.c2
-rw-r--r--mbbsd/kaede.c1
-rw-r--r--mbbsd/user.c2
3 files changed, 4 insertions, 1 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
diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c
index 6dd3f95c..c4a9768b 100644
--- a/mbbsd/kaede.c
+++ b/mbbsd/kaede.c
@@ -83,7 +83,6 @@ Ptt_prints(char *str, size_t size, int mode)
int
Rename(const char *src, const char *dst)
{
- char buf[256];
if (rename(src, dst) == 0)
return 0;
if (!strchr(src, ';') && !strchr(dst, ';'))
diff --git a/mbbsd/user.c b/mbbsd/user.c
index ed15a4e5..7fcfb6c6 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -326,7 +326,9 @@ void Customize(void)
/* cuser.uflag settings */
static const unsigned int masks1[] = {
MOVIE_FLAG,
+#ifdef DBCSAWARE
DBCSAWARE_FLAG,
+#endif
0,
};