summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-05-19 10:13:18 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-05-19 10:13:18 +0800
commit3290687091c91cff888514aa4cc93a0db94e9029 (patch)
tree3c77fb5e7227128cbe156c7d7ab9ac96899c7d2b
parent628735a20221af12cab12a2a41088a50582dbe4d (diff)
downloadpttbbs-3290687091c91cff888514aa4cc93a0db94e9029.tar
pttbbs-3290687091c91cff888514aa4cc93a0db94e9029.tar.gz
pttbbs-3290687091c91cff888514aa4cc93a0db94e9029.tar.bz2
pttbbs-3290687091c91cff888514aa4cc93a0db94e9029.tar.lz
pttbbs-3290687091c91cff888514aa4cc93a0db94e9029.tar.xz
pttbbs-3290687091c91cff888514aa4cc93a0db94e9029.tar.zst
pttbbs-3290687091c91cff888514aa4cc93a0db94e9029.zip
fix bug: number of bfriend in userlist
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index deaddd9d..9769a472 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1950,7 +1950,7 @@ 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], SHM->UTMPnumber,
- myfriend, friendme, currutmp->brc_id ? (bfriend + 1) : 0, badfriend);
+ myfriend, friendme, currutmp->brc_id ? bfriend : 0, badfriend);
for (i = 0, ch = page * nPickups + 1; i < nPickups; ++i, ++ch) {
move(i + 3, 0);
outc('a');