From 643e453cf2e0d8363e8767d7cd6a18797b50c057 Mon Sep 17 00:00:00 2001 From: scw Date: Thu, 2 Feb 2006 12:35:55 +0000 Subject: Confirm before removing boards from fav. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mbbsd/board.c b/mbbsd/board.c index 587f015d..95db3b75 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -905,8 +905,10 @@ choose_board(int newflag) break; case Ctrl('D'): if (HasUserPerm(PERM_LOGINOK)) { - fav_remove_all_tagged_item(); - brdnum = -1; + if (getans("刪除所有標記[N]?") == 'y'){ + fav_remove_all_tagged_item(); + brdnum = -1; + } } break; case Ctrl('A'): -- cgit v1.2.3