summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-09 00:52:36 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-09 00:52:36 +0800
commitf7611622ecbaf63235608938bac6e017bd165478 (patch)
treebed9422a541cf6e10e147e4c6a45a1d21326b491 /mbbsd
parentf61cddc240239e982efeca0d065ebcf6de6f7532 (diff)
downloadpttbbs-f7611622ecbaf63235608938bac6e017bd165478.tar
pttbbs-f7611622ecbaf63235608938bac6e017bd165478.tar.gz
pttbbs-f7611622ecbaf63235608938bac6e017bd165478.tar.bz2
pttbbs-f7611622ecbaf63235608938bac6e017bd165478.tar.lz
pttbbs-f7611622ecbaf63235608938bac6e017bd165478.tar.xz
pttbbs-f7611622ecbaf63235608938bac6e017bd165478.tar.zst
pttbbs-f7611622ecbaf63235608938bac6e017bd165478.zip
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@936 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index d8d667ab..5a8ccd59 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.128 2003/06/08 16:50:00 victor Exp $ */
+/* $Id: board.c,v 1.129 2003/06/08 16:52:36 victor Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -1318,6 +1318,8 @@ choose_board(int newflag)
char buf[2], buf2[2], fname[80], genbuf[256];
int fd;
getdata(b_lines - 1, 0, "請選擇 1)清除不可見看板 2)備份我的最愛 3)取回最愛備份 [Q]", buf, sizeof(buf), DOECHO);
+ if(!buf[0])
+ break;
getdata(b_lines - 1, 0, "確定嗎 [y/N] ", buf2, sizeof(buf2), DOECHO);
if(buf2[0] != 'y')
break;