summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-25 10:21:03 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-25 10:21:03 +0800
commitb185de69ec289dd0e4aac5b6463e7eb1ac308fee (patch)
tree12eccf09b1ab42effb9154679b9a66f392000dd5
parenta66669cbb54930cf599f04ca9a7d316fd974072e (diff)
downloadpttbbs-b185de69ec289dd0e4aac5b6463e7eb1ac308fee.tar
pttbbs-b185de69ec289dd0e4aac5b6463e7eb1ac308fee.tar.gz
pttbbs-b185de69ec289dd0e4aac5b6463e7eb1ac308fee.tar.bz2
pttbbs-b185de69ec289dd0e4aac5b6463e7eb1ac308fee.tar.lz
pttbbs-b185de69ec289dd0e4aac5b6463e7eb1ac308fee.tar.xz
pttbbs-b185de69ec289dd0e4aac5b6463e7eb1ac308fee.tar.zst
pttbbs-b185de69ec289dd0e4aac5b6463e7eb1ac308fee.zip
comfirm before remove a folder
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1370 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 70d48202..913e7874 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1129,6 +1129,8 @@ choose_board(int newflag)
ptr = &nbrd[num];
if (yank_flag == 0) {
if (ptr->myattr & BRD_FAV) {
+ if (ptr->myattr & BRD_FOLDER && getans("§A½T©w§R°£¶Ü? [N/y]") != 'y')
+ break;
fav_remove_item(ptr->bid, get_fav_type(ptr));
ptr->myattr &= ~BRD_FAV;
}