diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-13 03:41:49 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-13 03:41:49 +0800 |
commit | 23a7ad451a3b75610f09864a5689bab8badf0d03 (patch) | |
tree | 0af8676956baa1951826c36f4e3715901e18f244 | |
parent | 4e1ad2af155038106cd14a7f5deeee5771b3a531 (diff) | |
download | pttbbs-23a7ad451a3b75610f09864a5689bab8badf0d03.tar pttbbs-23a7ad451a3b75610f09864a5689bab8badf0d03.tar.gz pttbbs-23a7ad451a3b75610f09864a5689bab8badf0d03.tar.bz2 pttbbs-23a7ad451a3b75610f09864a5689bab8badf0d03.tar.lz pttbbs-23a7ad451a3b75610f09864a5689bab8badf0d03.tar.xz pttbbs-23a7ad451a3b75610f09864a5689bab8badf0d03.tar.zst pttbbs-23a7ad451a3b75610f09864a5689bab8badf0d03.zip |
* 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
-rw-r--r-- | mbbsd/angel.c | 1 | ||||
-rw-r--r-- | mbbsd/board.c | 1 |
2 files changed, 1 insertions, 1 deletions
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; |