summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-18 01:06:54 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-18 01:06:54 +0800
commit410588e13587887613b61fd520bf7374c99ca351 (patch)
tree3cf3c39452d67aaad598518b67e523c19e4620f1
parentf260ebd0496c7ae350c2e9ffa52444420231246a (diff)
downloadpttbbs-410588e13587887613b61fd520bf7374c99ca351.tar
pttbbs-410588e13587887613b61fd520bf7374c99ca351.tar.gz
pttbbs-410588e13587887613b61fd520bf7374c99ca351.tar.bz2
pttbbs-410588e13587887613b61fd520bf7374c99ca351.tar.lz
pttbbs-410588e13587887613b61fd520bf7374c99ca351.tar.xz
pttbbs-410588e13587887613b61fd520bf7374c99ca351.tar.zst
pttbbs-410588e13587887613b61fd520bf7374c99ca351.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@45 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/admin.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 7ca5e466..61509ba6 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1,4 +1,4 @@
-/* $Id: admin.c,v 1.5 2002/03/17 16:39:19 in2 Exp $ */
+/* $Id: admin.c,v 1.6 2002/03/17 17:06:54 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -812,9 +812,8 @@ int scan_register_form(char *regfile, int automode, int neednum) {
if(ans[0] != 'y' && ans[0] != 's')
ans[0] = 'd';
} else {
- getdata(b_lines - 1, 0,
- "是否接受此資料(Y/N/Q/Del/Skip)?[S] ",
- ans, 3, LCECHO);
+ move(b_lines - 1, 0);
+ prints("是否接受此資料(Y/N/Q/Del/Skip)?[S] ");
ans[0] = igetch();
if( 'A' <= ans[0] && ans[0] <= 'Z' )
ans[0] += 32;