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 | d945359c074b6e290208e70fd7a6085bd973961d (patch) | |
tree | 3cf816bed53e305bf4710fd55c1b7df2e95dd473 | |
parent | ea815fcbed085aa0eb0028840290126961decb60 (diff) | |
download | pttbbs-d945359c074b6e290208e70fd7a6085bd973961d.tar pttbbs-d945359c074b6e290208e70fd7a6085bd973961d.tar.gz pttbbs-d945359c074b6e290208e70fd7a6085bd973961d.tar.bz2 pttbbs-d945359c074b6e290208e70fd7a6085bd973961d.tar.lz pttbbs-d945359c074b6e290208e70fd7a6085bd973961d.tar.xz pttbbs-d945359c074b6e290208e70fd7a6085bd973961d.tar.zst pttbbs-d945359c074b6e290208e70fd7a6085bd973961d.zip |
fix add fav_line problem
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index a929fe99..84ab7e54 100644 --- a/mbbsd/board.c +++ b/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; |