summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-11-21 01:42:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-11-21 01:42:14 +0800
commit31a8bad22169d95c90c1c247a269f9dccb5d87a2 (patch)
tree422d4a5f75b7188f63c96ca400b7dd58cd157563
parent2656ae82f738e6dc13377943740bdf038218b45b (diff)
downloadpttbbs-31a8bad22169d95c90c1c247a269f9dccb5d87a2.tar
pttbbs-31a8bad22169d95c90c1c247a269f9dccb5d87a2.tar.gz
pttbbs-31a8bad22169d95c90c1c247a269f9dccb5d87a2.tar.bz2
pttbbs-31a8bad22169d95c90c1c247a269f9dccb5d87a2.tar.lz
pttbbs-31a8bad22169d95c90c1c247a269f9dccb5d87a2.tar.xz
pttbbs-31a8bad22169d95c90c1c247a269f9dccb5d87a2.tar.zst
pttbbs-31a8bad22169d95c90c1c247a269f9dccb5d87a2.zip
fix: 'f' in userlist with board friends will cause sigxcpu.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/talk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/talk.c b/pttbbs/mbbsd/talk.c
index 6293773b..e506eb4f 100644
--- a/pttbbs/mbbsd/talk.c
+++ b/pttbbs/mbbsd/talk.c
@@ -2541,6 +2541,8 @@ userlist(void)
case 'f':
if (HasBasicUserPerm(PERM_LOGINOK)) {
pwcuToggleFriendList();
+ // reset cursor
+ page = offset = 0;
redrawall = redraw = 1;
}
break;