summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-21 07:22:48 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-21 07:22:48 +0800
commit24d848bc545c35e9420f30c4fac7ded75072cfaa (patch)
treee67915b3817858f51487e7deab726185f76baedb /mbbsd/edit.c
parent0f1c03fda85c111bbd551c10774b84af1ef08aff (diff)
downloadpttbbs-24d848bc545c35e9420f30c4fac7ded75072cfaa.tar
pttbbs-24d848bc545c35e9420f30c4fac7ded75072cfaa.tar.gz
pttbbs-24d848bc545c35e9420f30c4fac7ded75072cfaa.tar.bz2
pttbbs-24d848bc545c35e9420f30c4fac7ded75072cfaa.tar.lz
pttbbs-24d848bc545c35e9420f30c4fac7ded75072cfaa.tar.xz
pttbbs-24d848bc545c35e9420f30c4fac7ded75072cfaa.tar.zst
pttbbs-24d848bc545c35e9420f30c4fac7ded75072cfaa.zip
* merge uflag2 and uflag, and refine flag bitmask names
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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();