diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-19 15:59:14 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-19 15:59:14 +0800 |
commit | 37a5fc404945e2dca7a9e0a930df139a4e9a7a9e (patch) | |
tree | dcc7269d5617dc5f352a5b6d82862e38bab1fd44 /mbbsd/read.c | |
parent | 4f7966520c2a9909be561e1a3070e24544c253bc (diff) | |
download | pttbbs-37a5fc404945e2dca7a9e0a930df139a4e9a7a9e.tar pttbbs-37a5fc404945e2dca7a9e0a930df139a4e9a7a9e.tar.gz pttbbs-37a5fc404945e2dca7a9e0a930df139a4e9a7a9e.tar.bz2 pttbbs-37a5fc404945e2dca7a9e0a930df139a4e9a7a9e.tar.lz pttbbs-37a5fc404945e2dca7a9e0a930df139a4e9a7a9e.tar.xz pttbbs-37a5fc404945e2dca7a9e0a930df139a4e9a7a9e.tar.zst pttbbs-37a5fc404945e2dca7a9e0a930df139a4e9a7a9e.zip |
paste taged file across board and mailbox
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1109 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r-- | mbbsd/read.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index 9cc2c398..d6260e12 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -720,6 +720,14 @@ 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; + else + TagBoard = bid; + TagNum = 0; + } /* rocker.011112: 解決再select mode標記文章的問題 */ if (Tagger(atoi(headers[locmem->crs_ln - locmem->top_ln].filename + 2), (currmode & MODE_SELECT) ? @@ -780,9 +788,6 @@ i_read(int cmdmode, char *direct, void (*dotitle) (), void (*doentry) (), onekey strlcpy(currdirect, direct, sizeof(currdirect)); mode = NEWDIRECT; - /* rocker.011018: 加入新的tag機制 */ - TagNum = 0; - do { /* 依據 mode 顯示 fileheader */ setutmpmode(cmdmode); |