summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-30 13:59:36 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-30 13:59:36 +0800
commitcd29a1da3cbeec80559309f8e16bba071137f2f8 (patch)
tree00f5c657e0d119515a5c46f0b56c4b169307d573 /mbbsd/board.c
parent25ab88da2f3b6244c861c859999f658fc4c2990e (diff)
downloadpttbbs-cd29a1da3cbeec80559309f8e16bba071137f2f8.tar
pttbbs-cd29a1da3cbeec80559309f8e16bba071137f2f8.tar.gz
pttbbs-cd29a1da3cbeec80559309f8e16bba071137f2f8.tar.bz2
pttbbs-cd29a1da3cbeec80559309f8e16bba071137f2f8.tar.lz
pttbbs-cd29a1da3cbeec80559309f8e16bba071137f2f8.tar.xz
pttbbs-cd29a1da3cbeec80559309f8e16bba071137f2f8.tar.zst
pttbbs-cd29a1da3cbeec80559309f8e16bba071137f2f8.zip
- board: enable changing to MyFavorite in HotBoards
- bugfix: snprintf() on UNIX takes directly sizeof(buf) and always append NUL. Warning: Windows port will not output NUL if truncated. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3883 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 2a4b3dd5..a6704199 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1609,7 +1609,7 @@ choose_board(int newflag)
// MyFav Functionality (Require PERM_BASIC)
///////////////////////////////////////////////////////
case 'y':
- if (HasFavEditPerm() && IN_FAVORITE()) {
+ if (HasFavEditPerm() && !(IN_CLASS())) {
if (get_current_fav() != NULL || !IS_LISTING_FAV()){
yank_flag ^= 1; /* FAV <=> BRD */
}