summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-02-02 20:35:55 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-02-02 20:35:55 +0800
commit643e453cf2e0d8363e8767d7cd6a18797b50c057 (patch)
tree0ffe9e2eb18649ed7b6d540ce86a54db64e69014 /mbbsd
parent8212b34a8810a637cc6f0590183f34a2abc447ec (diff)
downloadpttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar
pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.gz
pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.bz2
pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.lz
pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.xz
pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.zst
pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.zip
Confirm before removing boards from fav.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c6
1 files 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'):