Skip to content

Commit

Permalink
2014年12月19日15:59:47
Browse files Browse the repository at this point in the history
  • Loading branch information
a382793896 committed Dec 19, 2014
1 parent 3db168a commit 2de347b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HorseRace/HorseRaceMainDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ bool CHorseRaceMainDlg::QTrade()
for (i = 0 ; i < m_ListQ[nQ].GetItemCount() ; ++i)
{
tem = m_ListQ[nQ].GetItemText(i,3);
if(szCondition.amount.Compare(tem) == 0)//折扣
if( atoi( szCondition.amount) <= atoi(tem) )//折扣
{
tem = m_ListQ[nQ].GetItemText(i,4);
if(atoi(tem) <= atoi(szCondition.limit))//限额
Expand Down

0 comments on commit 2de347b

Please sign in to comment.