diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-16 23:11:10 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-16 23:11:10 +0800 |
commit | f79d7ef296f497b75d91a7770c7c1abce36961a4 (patch) | |
tree | 38f12efc08dc53260fba13eef21686bbd6904274 /mbbsd/talk.c | |
parent | 29d876cdef4b32738321498a77ba833d828bfbe4 (diff) | |
download | pttbbs-f79d7ef296f497b75d91a7770c7c1abce36961a4.tar pttbbs-f79d7ef296f497b75d91a7770c7c1abce36961a4.tar.gz pttbbs-f79d7ef296f497b75d91a7770c7c1abce36961a4.tar.bz2 pttbbs-f79d7ef296f497b75d91a7770c7c1abce36961a4.tar.lz pttbbs-f79d7ef296f497b75d91a7770c7c1abce36961a4.tar.xz pttbbs-f79d7ef296f497b75d91a7770c7c1abce36961a4.tar.zst pttbbs-f79d7ef296f497b75d91a7770c7c1abce36961a4.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@31 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r-- | mbbsd/talk.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 8516a5a9..0f0b66fe 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.12 2002/03/16 13:38:36 ptt Exp $ */ +/* $Id: talk.c,v 1.13 2002/03/16 15:11:10 ptt Exp $ */ #include <stdio.h> #include <string.h> #include <errno.h> @@ -741,17 +741,24 @@ void t_display_new(void) outs("───────水─球─回─顧───"); outs(WATERMODE(WATER_ORIG) ? "──────用[Ctrl-R Ctrl-T]鍵切換─────" : - "用[Ctrl-R Ctrl-T Ctrl-E Ctrl-W ]鍵切換────"); + "用[Ctrl-R Ctrl-T Ctrl-F Ctrl-G ]鍵切換────"); if( WATERMODE(WATER_NEW) ){ move(2, 0); clrtoeol(); for (i = 0; i<6 ; i++){ if(i>0) if(swater[i-1]) - prints("%s%-13.13s\033[m", - !swater[i-1]->uin?"\033[1;33;45mX": - swater[i-1]==water_which?"\033[1;33;47m ": - " ",swater[i-1]->userid); + { + if(swater[i-1]->uin && + swater[i-1]->uin->pid!=swater[i-1]->pid) + swater[i-1]->uin=NULL; + prints("%s%c%-13.13s\033[m", + swater[i-1]!=water_which? "" : + swater[i-1]->uin?"\033[1;33;47m": + "\033[1;33;45m", + !swater[i-1]->uin?'#':' ', + swater[i-1]->userid); + } else prints(" "); else |