summaryrefslogtreecommitdiffstats
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
commit4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072 (patch)
treefa28b0be08a8cf02965199428d20e4934c59e286
parente4f9c43846823bc1e149a71520a8bc36459909f3 (diff)
downloadpttbbs-4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072.tar
pttbbs-4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072.tar.gz
pttbbs-4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072.tar.bz2
pttbbs-4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072.tar.lz
pttbbs-4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072.tar.xz
pttbbs-4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072.tar.zst
pttbbs-4f9b34a2593a7c0a0bce7e5b25f208ebf4ec2072.zip
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@936 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c
index d8d667ab..5a8ccd59 100644
--- a/pttbbs/mbbsd/board.c
+++ b/pttbbs/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;