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 | b2ccf17712071e2205bb9c58664877bd99e019ca (patch) | |
tree | 776ebdcc4b2b8f7250ef1a0c8d8792838f22b36b | |
parent | 6a02609f8076b37e8100527427beb43888a677ef (diff) | |
download | pttbbs-b2ccf17712071e2205bb9c58664877bd99e019ca.tar pttbbs-b2ccf17712071e2205bb9c58664877bd99e019ca.tar.gz pttbbs-b2ccf17712071e2205bb9c58664877bd99e019ca.tar.bz2 pttbbs-b2ccf17712071e2205bb9c58664877bd99e019ca.tar.lz pttbbs-b2ccf17712071e2205bb9c58664877bd99e019ca.tar.xz pttbbs-b2ccf17712071e2205bb9c58664877bd99e019ca.tar.zst pttbbs-b2ccf17712071e2205bb9c58664877bd99e019ca.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1224 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index c55a7570..1a1bf8c4 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/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, |