From 81aedaf08d5fb34eddb2cf838a434aed1bfe3a6f Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 16 Dec 2007 04:43:32 +0000 Subject: - disable interupting ANSI inside DBCS characters (for UTF-8 or non-DBCS clients) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3688 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/uflags.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include/uflags.h') diff --git a/include/uflags.h b/include/uflags.h index 752dc73a..ea27bee5 100644 --- a/include/uflags.h +++ b/include/uflags.h @@ -4,6 +4,12 @@ #ifndef INCLUDE_UFLAGS_H #define INCLUDE_UFLAGS_H +// TODO in order to prevent masking with wrong variables +// (since we have 2 flags), it is better to rename the +// masks with their flag index, eg: +// UF_PAGER, +// UF2_WATER_ORIG, + /* -------------------- userec_t.uflag (unsigned int) */ /* UNKNOWN */ @@ -21,9 +27,9 @@ //#define MIND_FLAG 0x00000100 /* true if mind search mode open <-Heat*/ /* DBCS CONFIG */ +/* please keep these even if you don't have DBCSAWARE features turned on */ #define DBCSAWARE_FLAG 0x00000200 /* true if DBCS-aware enabled. */ -/* please keep this even if you don't have DBCSAWARE features turned on */ -// #define DBCS__??? 0x00000400 +#define DBCS_NOINTRESC 0x00000400 /* no Escapes interupting DBCS characters */ // #define DBCS__??? 0x00000800 /* Modification Mark (~) */ -- cgit v1.2.3