From 71f79c7083cc15749079d7241ca46f186f304012 Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 8 Jun 2005 11:15:39 +0000 Subject: New DBCS aware: detecting and reversed default value git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/edit.c') 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(); -- cgit v1.2.3