summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c9
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;