summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 44f1e45f..420f3f60 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1089,7 +1089,10 @@ choose_board(int newflag)
if (ptr == NULL)
vmsg("你的最愛太多了啦 真花心");
- else {
+ else if (ptr->attr & NBRD_FAV) { // already in fav list
+ // move curser to item
+ for (num = 0; bid != nbrd[num].bid; ++num);
+ } else {
ptr->attr |= NBRD_FAV;
if (ch == 'i') {