summaryrefslogtreecommitdiffstats
path: root/mbbsd/chat.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-18 00:42:57 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-18 00:42:57 +0800
commitc2cded3c25ffed4bd3ceda295b477d8b5f6f929c (patch)
tree8fdd9e896ff38c4545a74c225218010776965ff3 /mbbsd/chat.c
parent1d88f1ec941997fad204a51371b0ef4552d62ea8 (diff)
downloadpttbbs-c2cded3c25ffed4bd3ceda295b477d8b5f6f929c.tar
pttbbs-c2cded3c25ffed4bd3ceda295b477d8b5f6f929c.tar.gz
pttbbs-c2cded3c25ffed4bd3ceda295b477d8b5f6f929c.tar.bz2
pttbbs-c2cded3c25ffed4bd3ceda295b477d8b5f6f929c.tar.lz
pttbbs-c2cded3c25ffed4bd3ceda295b477d8b5f6f929c.tar.xz
pttbbs-c2cded3c25ffed4bd3ceda295b477d8b5f6f929c.tar.zst
pttbbs-c2cded3c25ffed4bd3ceda295b477d8b5f6f929c.zip
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
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r--mbbsd/chat.c10
1 files changed, 5 insertions, 5 deletions
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)