diff options
author | (no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-10-08 05:28:00 +0800 |
---|---|---|
committer | (no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-10-08 05:28:00 +0800 |
commit | 520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1 (patch) | |
tree | 1655f650c1afcf6fbd74a2408c59ca84093c946e /mbbsd | |
parent | cf911fe037611acc47563c15b8513c9756df401e (diff) | |
download | pttbbs-520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1.tar pttbbs-520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1.tar.gz pttbbs-520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1.tar.bz2 pttbbs-520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1.tar.lz pttbbs-520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1.tar.xz pttbbs-520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1.tar.zst pttbbs-520985b7e9e07bdbd2bbefa3bbb9fbf4da60c0f1.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1224 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index c55a7570..1a1bf8c4 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1495,7 +1495,8 @@ do_bid(int ent, fileheader_t * fhdr, boardheader_t *bp, char *direct, struct t bidinfo.high=i+bidinfo.increment; else bidinfo.high=i; /*這邊怪怪的*/ - if(bidinfo.high>bidinfo.buyitnow) bidinfo.high=bidinfo.buyitnow; + if(bidinfo.buyitnow && bidinfo.high>bidinfo.buyitnow) + bidinfo.high=bidinfo.buyitnow; snprintf(genbuf, sizeof(genbuf), "\033[1;31m→ \033[33m自動競標%s勝出\033[m\033[33m\033[m%*s金額:%-15d標 %02d/%02d\n", bidinfo.userid, |