summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-19 16:54:43 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-19 16:54:43 +0800
commit1953245ff7c0c51fd63d6afd5033f8f51772a314 (patch)
treea51e9237775fc2b6c3bf2a2068dc739e8f2523ba
parent37a5fc404945e2dca7a9e0a930df139a4e9a7a9e (diff)
downloadpttbbs-1953245ff7c0c51fd63d6afd5033f8f51772a314.tar
pttbbs-1953245ff7c0c51fd63d6afd5033f8f51772a314.tar.gz
pttbbs-1953245ff7c0c51fd63d6afd5033f8f51772a314.tar.bz2
pttbbs-1953245ff7c0c51fd63d6afd5033f8f51772a314.tar.lz
pttbbs-1953245ff7c0c51fd63d6afd5033f8f51772a314.tar.xz
pttbbs-1953245ff7c0c51fd63d6afd5033f8f51772a314.tar.zst
pttbbs-1953245ff7c0c51fd63d6afd5033f8f51772a314.zip
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1110 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index d6260e12..009b6912 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -721,7 +721,8 @@ i_read_key(onekey_t * rcmdlist, keeploc_t * locmem, int ch, int bid)
/* rocker.011018: 採用新的tag模式 */
case 't':
/* 將原本在 Read() 裡面的 "TagNum = 0" 移至此處 */
- if (!(TagBoard == bid) && !(currstat & RMAIL && TagBoard == 0)) {
+ if ((currstat & RMAIL && TagBoard != 0) ||
+ (!(currstat & RMAIL) && TagBoard != bid)) {
if (currstat & RMAIL)
TagBoard = 0;
else