diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-23 21:14:01 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-23 21:14:01 +0800 |
commit | 41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e (patch) | |
tree | c7df5c10c3797446d9836f3d1ed2e170c7641561 | |
parent | 4a14aa1f8ccbdf17f4df2358464dc7f82a4298b1 (diff) | |
download | pttbbs-41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e.tar pttbbs-41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e.tar.gz pttbbs-41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e.tar.bz2 pttbbs-41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e.tar.lz pttbbs-41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e.tar.xz pttbbs-41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e.tar.zst pttbbs-41b4d29e7d104a3dbb1f069c7fb9f28d2928f17e.zip |
No unread status for lines and folders in favorites
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c index 60a8aa4c..b4d76b81 100644 --- a/pttbbs/mbbsd/board.c +++ b/pttbbs/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) |