diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-28 23:14:26 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-28 23:14:26 +0800 |
commit | b6141a5d11a11b3bc233a55a8772693ce3658bb6 (patch) | |
tree | 0c495ddf6818a9d031498490e804b8a48c846b9a | |
parent | 1966f91de1a2b95fbd0a713877c92a9ad9e467ed (diff) | |
download | pttbbs-b6141a5d11a11b3bc233a55a8772693ce3658bb6.tar pttbbs-b6141a5d11a11b3bc233a55a8772693ce3658bb6.tar.gz pttbbs-b6141a5d11a11b3bc233a55a8772693ce3658bb6.tar.bz2 pttbbs-b6141a5d11a11b3bc233a55a8772693ce3658bb6.tar.lz pttbbs-b6141a5d11a11b3bc233a55a8772693ce3658bb6.tar.xz pttbbs-b6141a5d11a11b3bc233a55a8772693ce3658bb6.tar.zst pttbbs-b6141a5d11a11b3bc233a55a8772693ce3658bb6.zip |
fix add fav_line problem
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c index a929fe99..84ab7e54 100644 --- a/pttbbs/mbbsd/board.c +++ b/pttbbs/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.112 2003/03/28 13:32:02 in2 Exp $ */ +/* $Id: board.c,v 1.113 2003/03/28 15:14:26 victor Exp $ */ #include "bbs.h" #define BRC_STRLEN 15 /* Length of board name */ #define BRC_MAXSIZE 24576 @@ -1253,7 +1253,8 @@ choose_board(int newflag) break; } setfav(0, BRD_FAV | BRD_LINE, 1, 0); - movefav(brdnum++, num); + nbrd[brdnum].bid = fav->nLines; + movefav(brdnum, num); favchange = 1; brdnum = -1; head = 9999; |