From 4acd952f48f8d0ac2da8d590dd8a7494cca0384c Mon Sep 17 00:00:00 2001 From: kcwu Date: Mon, 15 Jun 2009 07:30:45 +0000 Subject: * bug fix: crash if user want to add fav, but it's actually filtered out due to keyword search. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'mbbsd/board.c') diff --git a/mbbsd/board.c b/mbbsd/board.c index ef872776..d199dc46 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1967,8 +1967,19 @@ choose_board(int newflag) fav_type_t * ptr = getboard(bid); if (ptr != NULL) { // already in fav list // move curser to item - for (num = 0; num