summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-12 21:47:03 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-12 21:47:03 +0800
commitd044c958c8acf4cd0dff6fed337d485b9c0f30a4 (patch)
tree94396a0006bd54be61eb953015590cc543fadb95 /mbbsd/read.c
parent7d4d38cd01595fab2551b723e57ce8dba885319d (diff)
downloadpttbbs-d044c958c8acf4cd0dff6fed337d485b9c0f30a4.tar
pttbbs-d044c958c8acf4cd0dff6fed337d485b9c0f30a4.tar.gz
pttbbs-d044c958c8acf4cd0dff6fed337d485b9c0f30a4.tar.bz2
pttbbs-d044c958c8acf4cd0dff6fed337d485b9c0f30a4.tar.lz
pttbbs-d044c958c8acf4cd0dff6fed337d485b9c0f30a4.tar.xz
pttbbs-d044c958c8acf4cd0dff6fed337d485b9c0f30a4.tar.zst
pttbbs-d044c958c8acf4cd0dff6fed337d485b9c0f30a4.zip
remove MODE_ETC useless function
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index b732ac0c..58ec63ca 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -472,7 +472,7 @@ i_read_key(onekey_t * rcmdlist, keeploc_t * locmem,
mode = NEWDIRECT;
}
else
- mode = (currmode & MODE_ETC) ? board_etc() :
+ mode =
(currmode & MODE_DIGEST) ? board_digest() : DOQUIT;
break;
case Ctrl('L'):
@@ -644,7 +644,7 @@ i_read_key(onekey_t * rcmdlist, keeploc_t * locmem,
case KEY_RIGHT:
ch = 'r';
default:
- if( ch == 'h' && currmode & (MODE_ETC | MODE_DIGEST) )
+ if( ch == 'h' && currmode & (MODE_DIGEST) )
break;
if (ch > 0 && ch <= onekey_size) {
int (*func)() = rcmdlist[ch - 1];