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
commit5dd7badd83114e9d401b35519658111af372f23f (patch)
tree83b3a72a42e9f4c4701114e2231115e414751cd9
parentf66f843371f1508cbbeeff1c5174aefeb14fa436 (diff)
downloadpttbbs-5dd7badd83114e9d401b35519658111af372f23f.tar
pttbbs-5dd7badd83114e9d401b35519658111af372f23f.tar.gz
pttbbs-5dd7badd83114e9d401b35519658111af372f23f.tar.bz2
pttbbs-5dd7badd83114e9d401b35519658111af372f23f.tar.lz
pttbbs-5dd7badd83114e9d401b35519658111af372f23f.tar.xz
pttbbs-5dd7badd83114e9d401b35519658111af372f23f.tar.zst
pttbbs-5dd7badd83114e9d401b35519658111af372f23f.zip
fix unread
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index e8e8d8f2..a1c93c78 100644
--- a/mbbsd/board.c
+++ b/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"