From: <in...@us...> - 2003-09-15 04:46:37
|
Update of /cvsroot/bidwatcher/bidwatcher In directory sc8-pr-cvs1:/tmp/cvs-serv14986 Modified Files: Tag: STABLE_1_3 bidwatcher.cpp Log Message: Corrected problem where ButItNow auctions were deleted as soon as they were added if AUTODEL was turned on. Index: bidwatcher.cpp =================================================================== RCS file: /cvsroot/bidwatcher/bidwatcher/Attic/bidwatcher.cpp,v retrieving revision 1.171.2.1 retrieving revision 1.171.2.2 diff -u -d -r1.171.2.1 -r1.171.2.2 --- bidwatcher.cpp 12 Sep 2003 01:41:05 -0000 1.171.2.1 +++ bidwatcher.cpp 15 Sep 2003 04:46:33 -0000 1.171.2.2 @@ -3034,9 +3034,13 @@ if (timeLeft < 0) auction[idx]->EndsValue = 0; - // if auto delete is on and the auction is older than the predefined - // limit for keeping auctions in the list - if ((timeLeft < AUTODEL) && autoDelete) { + // if auto delete is on AND the auction is older than the predefined + // limit for keeping auctions in the list AND it is not a "Purchase Only" + // auction + if ((timeLeft < AUTODEL) && + // if 0, it's a "Purchase Only" auction + auction[idx]->TimeLeft[0] != 0 && + autoDelete) { // delete it DeleteAuction(idx); gtk_clist_remove(GTK_CLIST(aucList), idx); |