From 31a8bad22169d95c90c1c247a269f9dccb5d87a2 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 20 Nov 2011 17:42:14 +0000 Subject: 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 --- pttbbs/mbbsd/talk.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3