summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-22 16:20:43 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-22 16:20:43 +0800
commit728f585a0d49beb9569e6672f78727a61733d45c (patch)
treef86b4aab1cc44332b5f26f1480855ea2e4cbeea4
parentea46a614edc90d2817255193de2c6f3bb9601a8e (diff)
downloadpttbbs-728f585a0d49beb9569e6672f78727a61733d45c.tar
pttbbs-728f585a0d49beb9569e6672f78727a61733d45c.tar.gz
pttbbs-728f585a0d49beb9569e6672f78727a61733d45c.tar.bz2
pttbbs-728f585a0d49beb9569e6672f78727a61733d45c.tar.lz
pttbbs-728f585a0d49beb9569e6672f78727a61733d45c.tar.xz
pttbbs-728f585a0d49beb9569e6672f78727a61733d45c.tar.zst
pttbbs-728f585a0d49beb9569e6672f78727a61733d45c.zip
fix unread
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c
index e8e8d8f2..a1c93c78 100644
--- a/pttbbs/mbbsd/board.c
+++ b/pttbbs/mbbsd/board.c
@@ -795,7 +795,7 @@ show_brdlist(int head, int clsflag, int newflag)
prints(" ");
else
prints("%6d%s", (int)(B_TOTAL(ptr)),
- unread[ptr->myattr & BRD_UNREAD]);
+ unread[ptr->myattr & BRD_UNREAD ? 1 : 0]);
}
if (class_bid != 1) {
prints("%s%-13s\033[m%s%5.5s\033[0;37m%2.2s\033[m"