diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-05-18 13:40:22 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-05-18 13:40:22 +0800 |
commit | c48ba7865921764efa49167d1817baedbd3970c0 (patch) | |
tree | a833b422dce44ac5dff22abbc47cd21896bc0103 /mbbsd/read.c | |
parent | 17249ab2742f4582512fa735999d0d4a7d2fce99 (diff) | |
download | pttbbs-c48ba7865921764efa49167d1817baedbd3970c0.tar pttbbs-c48ba7865921764efa49167d1817baedbd3970c0.tar.gz pttbbs-c48ba7865921764efa49167d1817baedbd3970c0.tar.bz2 pttbbs-c48ba7865921764efa49167d1817baedbd3970c0.tar.lz pttbbs-c48ba7865921764efa49167d1817baedbd3970c0.tar.xz pttbbs-c48ba7865921764efa49167d1817baedbd3970c0.tar.zst pttbbs-c48ba7865921764efa49167d1817baedbd3970c0.zip |
reset TagBoard and TagNum when Ctrl('T')
informed by ledia@ptt2
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2727 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r-- | mbbsd/read.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index 43b018c9..3c779f48 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -692,6 +692,15 @@ i_read_key(const onekey_t * rcmdlist, keeploc_t * locmem, break; case Ctrl('T'): + /* XXX duplicated code, copy from case 't' */ + if ((currstat & RMAIL && TagBoard != 0) || + (!(currstat & RMAIL) && TagBoard != bid)) { + if (currstat & RMAIL) + TagBoard = 0; + else + TagBoard = bid; + TagNum = 0; + } mode = TagThread(currdirect); break; |