From dd0a2532713c555a6f96de23a4ff559f461c2ca2 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 28 Dec 2007 17:10:38 +0000 Subject: - fix display error when user input wrong value in email address (reported by watch @ ptt1) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/user.c b/mbbsd/user.c index 38387514..b7fb4e6a 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1422,7 +1422,6 @@ toregister(char *email, char *genbuf, char *phone, char *career, getfield(15, "身分認證用", "E-Mail Address", email, 50); if (strcmp(email, "x") == 0 || strcmp(email, "X") == 0) break; - #ifdef HAVEMOBILE else if (strcmp(email, "m") == 0 || strcmp(email, "M") == 0) { if (isvalidmobile(mobile)) { @@ -1432,6 +1431,7 @@ toregister(char *email, char *genbuf, char *phone, char *career, if (yn[0] == 'Y' || yn[0] == 'y') break; } else { + move(15, 0); clrtobot(); move(17, 0); outs("指定的手機號碼不合法," "若您無手機門號請選擇其他方式認證"); @@ -1446,6 +1446,7 @@ toregister(char *email, char *genbuf, char *phone, char *career, if (yn[0] == 'Y' || yn[0] == 'y') break; } else { + move(15, 0); clrtobot(); move(17, 0); outs("指定的 E-Mail 不合法, 若您無 E-Mail 請輸入 x 由站長手動認證\n"); outs("但注意手動認證通常會花上數天的時間。\n"); -- cgit v1.2.3