summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-04 17:09:08 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-04 17:09:08 +0800
commitc171d52ad84c790a48f525d039733c653dcc17ce (patch)
treedc219cbe05b758b23bbd13a8bdb1a1232e67d806
parenta4feb7846da8a7b2a1046d5cc040cfe164977ad0 (diff)
downloadpttbbs-c171d52ad84c790a48f525d039733c653dcc17ce.tar
pttbbs-c171d52ad84c790a48f525d039733c653dcc17ce.tar.gz
pttbbs-c171d52ad84c790a48f525d039733c653dcc17ce.tar.bz2
pttbbs-c171d52ad84c790a48f525d039733c653dcc17ce.tar.lz
pttbbs-c171d52ad84c790a48f525d039733c653dcc17ce.tar.xz
pttbbs-c171d52ad84c790a48f525d039733c653dcc17ce.tar.zst
pttbbs-c171d52ad84c790a48f525d039733c653dcc17ce.zip
warning before delete in fav
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index a4ca59b4..91884538 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1128,7 +1128,7 @@ choose_board(int newflag)
ptr = &nbrd[num];
if (yank_flag == 0) {
if (ptr->myattr & BRD_FAV) {
- if (ptr->myattr & BRD_FOLDER && getans("你確定刪除嗎? [N/y]") != 'y')
+ if (getans("你確定刪除嗎? [N/y]") != 'y')
break;
fav_remove_item(ptr->bid, get_fav_type(ptr));
ptr->myattr &= ~BRD_FAV;