From d1119be16b4062d4053de8ca800c82c52ddad90d Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 7 Mar 2002 16:44:18 +0000 Subject: register default to skip git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@3 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/admin.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 14bc9721..54fb017f 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1,4 +1,4 @@ -/* $Id: admin.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */ +/* $Id: admin.c,v 1.2 2002/03/07 16:44:18 in2 Exp $ */ #include #include #include @@ -812,8 +812,12 @@ int scan_register_form(char *regfile, int automode, int neednum) { ans[0] = 'd'; } else { getdata(b_lines - 1, 0, - "是否接受此資料(Y/N/Q/Del/Skip)?[Y] ", + "是否接受此資料(Y/N/Q/Del/Skip)?[S] ", ans, 3, LCECHO); + if( ans[0] != 'y' && ans[0] != 'n' && + ans[0] != 'q' && ans[0] != 'd' ) + ans[0] = 's'; + ans[1] = 0; } nSelf++; } else -- cgit v1.2.3