From 23a7ad451a3b75610f09864a5689bab8badf0d03 Mon Sep 17 00:00:00 2001 From: kcwu Date: Fri, 12 Jun 2009 19:41:49 +0000 Subject: * fix bug introduced in r4584: always enter default board in Read() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4586 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/angel.c | 1 - mbbsd/board.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/angel.c b/mbbsd/angel.c index 240e51a2..a18aa276 100644 --- a/mbbsd/angel.c +++ b/mbbsd/angel.c @@ -288,7 +288,6 @@ GotoNewHand(){ // usually crashed as 'assert(currbid == brc_currbid)' if (currboard[0]) { strlcpy(old_board, currboard, IDLEN + 1); - currboard = ""; // force enter_board } if (enter_board(BN_NEWBIE) == 0) diff --git a/mbbsd/board.c b/mbbsd/board.c index 7550f709..618711ce 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1713,6 +1713,7 @@ choose_board(int newflag) head = tmp - t_lines / 2; getkeep(buf, head > 1 ? head : 1, tmp + 1); } + enter_board(B_BH(ptr)->brdname); Read(); check_newpost(ptr); head = -1; -- cgit v1.2.3