diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-06 13:55:07 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-06 13:55:07 +0800 |
commit | 2edf2f33f1b8be159a7a47fb977206b86b3c7547 (patch) | |
tree | f4d4ad17db9c5a4a166604427102aee68c36e0f8 | |
parent | 2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e (diff) | |
download | pttbbs-2edf2f33f1b8be159a7a47fb977206b86b3c7547.tar pttbbs-2edf2f33f1b8be159a7a47fb977206b86b3c7547.tar.gz pttbbs-2edf2f33f1b8be159a7a47fb977206b86b3c7547.tar.bz2 pttbbs-2edf2f33f1b8be159a7a47fb977206b86b3c7547.tar.lz pttbbs-2edf2f33f1b8be159a7a47fb977206b86b3c7547.tar.xz pttbbs-2edf2f33f1b8be159a7a47fb977206b86b3c7547.tar.zst pttbbs-2edf2f33f1b8be159a7a47fb977206b86b3c7547.zip |
press 'N' to change nickname in userlist
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/talk.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index c6014dfd..ed952f44 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.102 2003/04/06 05:46:17 in2 Exp $ */ +/* $Id: talk.c,v 1.103 2003/04/06 05:55:07 in2 Exp $ */ #include "bbs.h" #define QCAST int (*)(const void *, const void *) @@ -2297,6 +2297,13 @@ userlist(void) } break; + case 'N': + oldgetdata(1, 0, "·sªº¼ÊºÙ: ", + cuser.username, sizeof(cuser.username), LCECHO); + strcpy(currutmp->username, cuser.username); + redrawall = redraw = 1; + break; + default: if (now >= lastupdate + 2) redraw = 1; |