summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 02:42:51 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 02:42:51 +0800
commitddc3595ab1076fdf1509686f20c4b106647f83d7 (patch)
treed4cd4afcde49d792d7f01a353ad80accb1085011
parent4aaaa108cec2c79127e4a49336fc5e159ae823c8 (diff)
downloadpttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.gz
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.bz2
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.lz
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.xz
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.zst
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c8
-rw-r--r--mbbsd/talk.c7
2 files changed, 7 insertions, 8 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 4600c095..e8718ea4 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.13 2002/05/24 18:34:22 ptt Exp $ */
+/* $Id: board.c,v 1.14 2002/05/24 18:42:51 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -618,9 +618,9 @@ static void show_brdlist(int head, int clsflag, int newflag) {
if (ptr->bh->brdattr & BRD_BAD)
prints(" X ");
else if(ptr->bh->nuser>30)
- prints("\033[31mHOT\033[m");
- else if(ptr->bh->nuser)
- prints("\033[31m%2d\033[m ",ptr->bh->nuser);
+ prints("\033[1;31mHOT\033[m");
+ else if(ptr->bh->nuser>0)
+ prints("\033[1;31m%2d\033[m ",ptr->bh->nuser);
else prints(" %c ", ptr->bh->bvote? 'V':' ');
prints("%.13s", ptr->bh->BM);
refresh();
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 1792c772..76069b61 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.39 2002/05/24 16:45:25 in2 Exp $ */
+/* $Id: talk.c,v 1.40 2002/05/24 18:42:51 ptt Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -47,7 +47,7 @@ extern boardheader_t *bcache;
extern userec_t cuser;
extern userec_t xuser;
extern time_t now;
-
+extern int currbid;
static char *IdleTypeTable[] = {
"偶在花呆啦", "情人來電", "覓食中", "拜見周公", "假死狀態", "我在思考"
};
@@ -1657,8 +1657,7 @@ static void draw_pickup(int drawall, pickup_t *pickup, int pickup_way,
"\033[33m與我為友:%-3d\033[36m板友:%-4d\033[31m壞人:"
"%-2d\033[m\n",
msg_pickup_way[pickup_way], utmpshm->number,
- //ifh_number, hfm_number, bfriends_number, irh_number,
- myfriend, friendme, 0, 0);
+ myfriend, friendme, bcache[currbid-1].nuser, 0);
move(3, 0);
for( i = 0, ch = page * 20 + 1 ; i < MAXPICKUP ; ++i, ++ch ){