From b185de69ec289dd0e4aac5b6463e7eb1ac308fee Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 25 Nov 2003 02:21:03 +0000 Subject: comfirm before remove a folder git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1370 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mbbsd') 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; } -- cgit v1.2.3