summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 19:12:43 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 19:12:43 +0800
commit524f96649436d3aa687c237a61c82cee5cf2e145 (patch)
tree801969e8c6c674f62977b7350d49b19b5073f705 /mbbsd/board.c
parent0a42448aae0891eb7623b12a7c3cac9b6d0b2151 (diff)
downloadpttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.gz
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.bz2
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.lz
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.xz
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.zst
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.zip
myfav update:
(1) Auto subscription to new forum is tooooo annoying. (2) We need "inverse" selection of myfav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 55b1f450..83470943 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -779,6 +779,21 @@ choose_board(int newflag)
if (num-- <= 0)
num = brdnum - 1;
break;
+ case '*':
+ {
+ int i = 0;
+ for (i = 0; i < brdnum; i++)
+ {
+ ptr = &nbrd[i];
+ if (IS_LISTING_FAV()){
+ if(get_fav_type(&nbrd[0]) != 0)
+ fav_tag(ptr->bid, get_fav_type(ptr), 2);
+ }
+ ptr->myattr ^= NBRD_TAG;
+ }
+ head = 9999;
+ }
+ break;
case 't':
ptr = &nbrd[num];
if (IS_LISTING_FAV()){