summaryrefslogtreecommitdiffstats
path: root/mbbsd/record.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-25 12:33:44 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-25 12:33:44 +0800
commit2b8f111d37842237a6044cdc874a2105048956a0 (patch)
tree42e942c723376997901cbe2202a03ad45d7653be /mbbsd/record.c
parenta90d0dfe4dda88e70c5d0c9c7c018e399747a279 (diff)
downloadpttbbs-2b8f111d37842237a6044cdc874a2105048956a0.tar
pttbbs-2b8f111d37842237a6044cdc874a2105048956a0.tar.gz
pttbbs-2b8f111d37842237a6044cdc874a2105048956a0.tar.bz2
pttbbs-2b8f111d37842237a6044cdc874a2105048956a0.tar.lz
pttbbs-2b8f111d37842237a6044cdc874a2105048956a0.tar.xz
pttbbs-2b8f111d37842237a6044cdc874a2105048956a0.tar.zst
pttbbs-2b8f111d37842237a6044cdc874a2105048956a0.zip
fix tag-ctrl(d) in mail menu
(digest articles will not be deleted, and FILE_DIGEST is same to FILE_REPLIED) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r--mbbsd/record.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c
index dc0ed900..b1b9a9cf 100644
--- a/mbbsd/record.c
+++ b/mbbsd/record.c
@@ -353,7 +353,8 @@ delete_range(const char *fpath, int id1, int id2)
/* rocker.011018: add new tag delete */
if (
(fhdr.filemode & FILE_MARKED) || /* ¼Ð°O */
- (fhdr.filemode & FILE_DIGEST) || /* ¤åºK */
+ ((fhdr.filemode & FILE_DIGEST) && (currstat != RMAIL) )||
+ /* ¤åºK , FILE_DIGEST is used as REPLIED in mail menu.*/
(id1 && (count < id1 || count > id2)) || /* range */
(!id1 && Tagger(atoi(t + 2), count, TAG_NIN))) { /* TagList */
if ((safewrite(fdw, &fhdr, sizeof(fileheader_t)) == -1)) {