summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 539985c4..124d7d71 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -2477,7 +2477,7 @@ vedit(char *fpath, int saveheader, int *islocal)
currutmp->destuid = currstat;
#ifdef DBCSAWARE_EDIT
- mbcs_mode = !(cuser.uflag & RAWDBCS_FLAG);
+ mbcs_mode = (cuser.uflag & DBCSAWARE_FLAG) ? 1 : 0;
#endif
enter_edit_buffer();