From 5dd7badd83114e9d401b35519658111af372f23f Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 22 Nov 2003 08:20:43 +0000 Subject: fix unread git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/board.c') 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" -- cgit v1.2.3