summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-17 11:26:22 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-17 11:26:22 +0800
commitf665f13b5bdcb87f19a0681481f6044cbcc109b9 (patch)
tree59dc95cf053cc3e4ee3cbabc18f218f78d866404 /mbbsd/user.c
parente12b8fb5f87d5bede1af88074cd6c85be93b121c (diff)
downloadpttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar
pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.gz
pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.bz2
pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.lz
pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.xz
pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.zst
pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.zip
- general message update and optimization
- change search_num() to getdata(), allow unified control git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index cf676f88..0b912c05 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -502,10 +502,17 @@ void Customize(void)
}
+ grayout_lines(1, b_lines, 0);
+ move(b_lines-1, 0); clrtoeol();
+
if(dirty)
+ {
passwd_update(usernum, &cuser);
+ outs("設定已儲存。\n");
+ } else {
+ outs("結束設定。\n");
+ }
- grayout_lines(0, b_lines, 0);
vmsg("設定完成");
}