summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-08-04 23:31:28 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-08-04 23:31:28 +0800
commitb5938de441b613aae13685a4a40528b53a59dd1a (patch)
tree64f151b1d7990bbad8cff9eb1c1e11e54b560239
parent029893ebe151032b5ffb5fcb223bfe55fc4b328e (diff)
downloadpttbbs-b5938de441b613aae13685a4a40528b53a59dd1a.tar
pttbbs-b5938de441b613aae13685a4a40528b53a59dd1a.tar.gz
pttbbs-b5938de441b613aae13685a4a40528b53a59dd1a.tar.bz2
pttbbs-b5938de441b613aae13685a4a40528b53a59dd1a.tar.lz
pttbbs-b5938de441b613aae13685a4a40528b53a59dd1a.tar.xz
pttbbs-b5938de441b613aae13685a4a40528b53a59dd1a.tar.zst
pttbbs-b5938de441b613aae13685a4a40528b53a59dd1a.zip
change display of 'hidden board' in myfav from 'Unknown' to real board names.
Ref: #1CKZmEt0 (PttSuggest) [ptt.cc] git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5094 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/board.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c
index eb7828bc..5770ef73 100644
--- a/pttbbs/mbbsd/board.c
+++ b/pttbbs/mbbsd/board.c
@@ -1308,8 +1308,10 @@ show_brdlist(int head, int clsflag, int newflag)
if (!GROUPOP() && !HasBoardPerm(B_BH(ptr))) {
if (newflag) prints("%7s", "");
else prints("%7d", head);
- prints(" %c Unknown?? ÁôªO ¡H³o­ÓªO¬OÁôªO",
- ptr->myattr & NBRD_TAG ? 'D' : ' ');
+ prints("X%c %-13sÁôªO ¡H%-34.34s",
+ ptr->myattr & NBRD_TAG ? 'D' : ' ',
+ B_BH(ptr)->brdname,
+ B_BH(ptr)->title + 7);
continue;
}
}