summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-11-23 21:14:01 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-11-23 21:14:01 +0800
commit66b4690b4678e6d2e19aa6838ae6436b57b9de11 (patch)
treee44b3a740492bf34e2e24180bb363121a9f610a2
parent7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a (diff)
downloadpttbbs-66b4690b4678e6d2e19aa6838ae6436b57b9de11.tar
pttbbs-66b4690b4678e6d2e19aa6838ae6436b57b9de11.tar.gz
pttbbs-66b4690b4678e6d2e19aa6838ae6436b57b9de11.tar.bz2
pttbbs-66b4690b4678e6d2e19aa6838ae6436b57b9de11.tar.lz
pttbbs-66b4690b4678e6d2e19aa6838ae6436b57b9de11.tar.xz
pttbbs-66b4690b4678e6d2e19aa6838ae6436b57b9de11.tar.zst
pttbbs-66b4690b4678e6d2e19aa6838ae6436b57b9de11.zip
No unread status for lines and folders in favorites
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 60a8aa4c..b4d76b81 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -765,7 +765,8 @@ check_newpost(boardstat_t * ptr)
time4_t ftime;
ptr->myattr &= ~NBRD_UNREAD;
- if (B_BH(ptr)->brdattr & (BRD_GROUPBOARD | BRD_SYMBOLIC))
+ if (B_BH(ptr)->brdattr & (BRD_GROUPBOARD | BRD_SYMBOLIC) ||
+ ptr->myattr & (NBRD_LINE | NBRD_FOLDER))
return 0;
if (B_TOTAL(ptr) == 0)