From 158f8dbbc3dea1aa2abf685d16d0b0b701fdc2fe Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 14 Oct 2003 16:09:40 +0000 Subject: fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1246 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/bbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 04114672..3ed870ed 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -1412,7 +1412,7 @@ do_bid(int ent, fileheader_t * fhdr, boardheader_t *bp, char *direct, struct t }*/ prints("恭喜 %s 以 %d 得標!", bidinfo.userid, bidinfo.high); - if (!(bidinfo.flag & SALE_COMMENTED) && strcmp(bidinfo.userid, currutmp->userid)){ + if (!(bidinfo.flag & SALE_COMMENTED) && strcmp(bidinfo.userid, currutmp->userid) == 0){ char tmp = getans("您對於這次交易的評價如何? 1:佳 2:欠佳 3:普通[Q]"); if ('1' <= tmp && tmp <= '3'){ switch(tmp){ -- cgit v1.2.3