Update of /cvsroot/bidwatcher/bidwatcher
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29264
Modified Files:
Tag: STABLE_1_3
bidwatcher.cpp
Log Message:
compiler issue: price of 0.0 is sometimes not correct detected
Index: bidwatcher.cpp
===================================================================
RCS file: /cvsroot/bidwatcher/bidwatcher/Attic/bidwatcher.cpp,v
retrieving revision 1.171.2.69
retrieving revision 1.171.2.70
diff -u -d -r1.171.2.69 -r1.171.2.70
--- bidwatcher.cpp 11 Mar 2006 23:48:34 -0000 1.171.2.69
+++ bidwatcher.cpp 23 Nov 2006 11:24:22 -0000 1.171.2.70
@@ -3992,16 +3992,16 @@
}
char buynow[40];
- if(auction->BuyitNowPrice > 0) {
+ if(auction->BuyitNowPrice > 0.00001) {
sprintf(buynow, "%s%.2f", auction->currency, auction->BuyitNowPrice);
}
- if(auction->BuyitNowPrice > 0 && auction->CurrentBid > 0 && auction->BuyitNowPrice > auction->CurrentBid) {
+ if(auction->BuyitNowPrice > 0.00001 && auction->CurrentBid > 0 && auction->BuyitNowPrice > auction->CurrentBid) {
sprintf(price, "%s / %s", curbid, buynow);
return;
}
- if(auction->BuyitNowPrice > 0) {
+ if(auction->BuyitNowPrice > 0.00001) {
if (is_dutch) {
sprintf(price, "%s(D,B)", buynow);
}else{
|