summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-16 21:38:36 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-16 21:38:36 +0800
commit7c81f751b1e395ad0a7c69de1d8f9d1c7f549395 (patch)
treecdc3b08676c2f136d9f27022ddeb98a8b3002042 /mbbsd
parentbc7835b969bdcc3faca3dc6f6e4e08c9246abf85 (diff)
downloadpttbbs-7c81f751b1e395ad0a7c69de1d8f9d1c7f549395.tar
pttbbs-7c81f751b1e395ad0a7c69de1d8f9d1c7f549395.tar.gz
pttbbs-7c81f751b1e395ad0a7c69de1d8f9d1c7f549395.tar.bz2
pttbbs-7c81f751b1e395ad0a7c69de1d8f9d1c7f549395.tar.lz
pttbbs-7c81f751b1e395ad0a7c69de1d8f9d1c7f549395.tar.xz
pttbbs-7c81f751b1e395ad0a7c69de1d8f9d1c7f549395.tar.zst
pttbbs-7c81f751b1e395ad0a7c69de1d8f9d1c7f549395.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@29 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/talk.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index a00b49ef..8516a5a9 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.11 2002/03/16 13:18:59 ptt Exp $ */
+/* $Id: talk.c,v 1.12 2002/03/16 13:38:36 ptt Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -747,11 +747,13 @@ void t_display_new(void)
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]->uin?"\033[1;33;45mX":
swater[i-1]==water_which?"\033[1;33;47m ":
- "",
- swater[i-1] ? swater[i-1]->userid:"");
+ " ",swater[i-1]->userid);
+ else
+ prints(" ");
else
prints("%s ¥þ³¡ \033[m",
water_which==&water[0]?"\033[1;33;47m ":