summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 19:15:39 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 19:15:39 +0800
commit71f79c7083cc15749079d7241ca46f186f304012 (patch)
tree8052a10f3dbd5061172d12ee8698d65f70ae60a2 /mbbsd/edit.c
parent524f96649436d3aa687c237a61c82cee5cf2e145 (diff)
downloadpttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar
pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.gz
pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.bz2
pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.lz
pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.xz
pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.zst
pttbbs-71f79c7083cc15749079d7241ca46f186f304012.zip
New DBCS aware: detecting and reversed default value
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2803 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 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();