From c2cded3c25ffed4bd3ceda295b477d8b5f6f929c Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 17 Aug 2005 16:42:57 +0000 Subject: Equivalent config file updates - little/big endian is useless. - DBCSAWARE_* now merged into DBCSAWARE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/chat.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mbbsd/chat.c') diff --git a/mbbsd/chat.c b/mbbsd/chat.c index bd0a381e..761965bb 100644 --- a/mbbsd/chat.c +++ b/mbbsd/chat.c @@ -1,7 +1,7 @@ /* $Id$ */ #include "bbs.h" -#ifndef DBCSAWARE_GETDATA +#ifndef DBCSAWARE #define dbcs_off (1) #endif @@ -414,7 +414,7 @@ t_chat(void) if (currchar) { --currchar; -#ifdef DBCSAWARE_GETDATA +#ifdef DBCSAWARE if(currchar > 0 && ISDBCSAWARE() && getDBCSstatus(inbuf, currchar) == DBCS_TRAILING) @@ -426,7 +426,7 @@ t_chat(void) if (inbuf[currchar]) { ++currchar; -#ifdef DBCSAWARE_GETDATA +#ifdef DBCSAWARE if(inbuf[currchar] && ISDBCSAWARE() && getDBCSstatus(inbuf, currchar) == DBCS_TRAILING) @@ -481,7 +481,7 @@ t_chat(void) move(b_lines - 1, chatid_len); } else if (ch == Ctrl('H') || ch == '\177') { if (currchar) { -#ifdef DBCSAWARE_GETDATA +#ifdef DBCSAWARE int dbcs_off = 1; if (ISDBCSAWARE() && getDBCSstatus(inbuf, currchar-1) == DBCS_TRAILING) @@ -505,7 +505,7 @@ t_chat(void) break; } else if (ch == Ctrl('D')) { if ((size_t)currchar < strlen(inbuf)) { -#ifdef DBCSAWARE_GETDATA +#ifdef DBCSAWARE int dbcs_off = 1; if (ISDBCSAWARE() && inbuf[currchar+1] && getDBCSstatus(inbuf, currchar+1) == DBCS_TRAILING) -- cgit v1.2.3