From c171d52ad84c790a48f525d039733c653dcc17ce Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 4 Feb 2004 09:09:08 +0000 Subject: warning before delete in fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') 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; -- cgit v1.2.3