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 d262f90e..2dd23eee 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -3486,7 +3486,7 @@ vedit2(const char *fpath, int saveheader, int *islocal, char title[STRLEN], int
currutmp->destuid = currstat;
#ifdef DBCSAWARE
- mbcs_mode = (cuser.uflag & DBCSAWARE_FLAG) ? 1 : 0;
+ mbcs_mode = (HasUserFlag(UF_DBCSAWARE)) ? 1 : 0;
#endif
enter_edit_buffer();