diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-23 11:19:01 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-23 11:19:01 +0800 |
commit | 9f968c8886542a57ef9a9c56730857252100acd7 (patch) | |
tree | b771ff4bf4d81586726230d181fc87836207a0b1 /mbbsd/talk.c | |
parent | 592c2af2c653d8525e9809effb4dddb2b6d9ff96 (diff) | |
download | pttbbs-9f968c8886542a57ef9a9c56730857252100acd7.tar pttbbs-9f968c8886542a57ef9a9c56730857252100acd7.tar.gz pttbbs-9f968c8886542a57ef9a9c56730857252100acd7.tar.bz2 pttbbs-9f968c8886542a57ef9a9c56730857252100acd7.tar.lz pttbbs-9f968c8886542a57ef9a9c56730857252100acd7.tar.xz pttbbs-9f968c8886542a57ef9a9c56730857252100acd7.tar.zst pttbbs-9f968c8886542a57ef9a9c56730857252100acd7.zip |
debug of segfault on userlist
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1821 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r-- | mbbsd/talk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index d667fb0a..3ad7e731 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1741,6 +1741,7 @@ draw_pickup(int drawall, pickup_t * pickup, int pickup_way, int idletime; #endif +pressanykey(); if (drawall) { showtitle((cuser.uflag & FRIEND_FLAG) ? "好友列表" : "休閒聊天", BBSName); @@ -1759,13 +1760,14 @@ draw_pickup(int drawall, pickup_t * pickup, int pickup_way, "\033[31m(w)\033[30m水球 \033[31m(m)\033[30m寄信 \033[31m(h)" "\033[30m線上輔助 \033[m"); } +pressanykey(); move(1, 0); prints(" 排序:[%s] 上站人數:%-4d\033[1;32m我的朋友:%-3d" "\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); - +pressanykey(); for (i = 0, ch = page * nPickups + 1; i < nPickups; ++i, ++ch) { move(i + 3, 0); prints("a"); @@ -1855,6 +1857,7 @@ draw_pickup(int drawall, pickup_t * pickup, int pickup_way, ); refresh(); +pressanykey(); } } |