summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-30 14:52:09 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-30 14:52:09 +0800
commit5c8c748e9a626e10bdf8bc4a4c2395213be2d70d (patch)
treeaf0a5620151fabf2ee7bca4652130d729569c33d /mbbsd/user.c
parent0bfcea8a5676396d273839a4a00f937497ca8d8d (diff)
downloadpttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.gz
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.bz2
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.lz
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.xz
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.zst
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.zip
A-E
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 68c7f048..4059a275 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.51 2003/03/26 11:06:05 in2 Exp $ */
+/* $Id: user.c,v 1.52 2003/03/30 06:52:09 in2 Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -215,10 +215,11 @@ static void Customize(void)
prints("%-30s%10s\n", "D. 目前的心情", mindbuf);
prints("%-30s%10s\n", "E. 高亮度顯示我的最愛",
((cuser.uflag2 & FAVNOHILIGHT) ? "否" : "是"));
- getdata(b_lines - 1, 0, "請按 [A-5] 切換設定,按 [Return] 結束:",
+ getdata(b_lines - 1, 0, "請按 [A-E] 切換設定,按 [Return] 結束:",
ans, sizeof(ans), DOECHO);
switch( ans[0] ){
+ case 'A':
case 'a':{
int currentset = cuser.uflag2 & WATER_MASK;
currentset = (currentset + 1) % 3;
@@ -227,12 +228,15 @@ static void Customize(void)
vmsg("修正水球模式後請正常離線再重新上線");
}
break;
+ case 'B':
case 'b':
cuser.userlevel ^= PERM_NOOUTMAIL;
break;
+ case 'C':
case 'c':
cuser.uflag2 ^= FAVNEW_FLAG;
break;
+ case 'D':
case 'd':{
getdata(b_lines - 1, 0, "現在的心情? ",
mindbuf, sizeof(mindbuf), DOECHO);
@@ -244,6 +248,7 @@ static void Customize(void)
memcpy(currutmp->mind, mindbuf, 4);
}
break;
+ case 'E':
case 'e':
cuser.uflag2 ^= FAVNOHILIGHT;
break;