diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Quotes/QuotesProviderFinance.cpp | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/QuotesProviderFinance.cpp')
-rw-r--r-- | plugins/Quotes/QuotesProviderFinance.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Quotes/QuotesProviderFinance.cpp b/plugins/Quotes/QuotesProviderFinance.cpp index 442869deeb..99d6127b32 100644 --- a/plugins/Quotes/QuotesProviderFinance.cpp +++ b/plugins/Quotes/QuotesProviderFinance.cpp @@ -42,7 +42,7 @@ bool CQuotesProviderFinance::WatchForQuote(const CQuote& rQuote,bool bWatch) TContracts::iterator i = std::find_if(m_aContacts.begin(),m_aContacts.end(),
boost::bind(is_quote_id_equal,_1,sQuoteID));
- if((false == bWatch) && (i != m_aContacts.end()))
+ if ((false == bWatch) && (i != m_aContacts.end()))
{
HANDLE hContact = *i;
{// for CCritSection
@@ -53,7 +53,7 @@ bool CQuotesProviderFinance::WatchForQuote(const CQuote& rQuote,bool bWatch) CallService(MS_DB_CONTACT_DELETE,reinterpret_cast<WPARAM>(hContact),0);
return true;
}
- else if((true == bWatch) && (i == m_aContacts.end()))
+ else if ((true == bWatch) && (i == m_aContacts.end()))
{
HANDLE hContact = CreateNewContact(rQuote.GetSymbol());
if(hContact)
@@ -136,7 +136,7 @@ namespace for(int i = 0;i < cItems;++i)
{
const CQuotesProviderBase::CQuote* pQuote = get_quote_ptr_from_lb_index(hwndList,i);
- if((nullptr != pQuote)
+ if ((nullptr != pQuote)
&& ((0 == quotes_stricmp(rsQuoteID.c_str(),pQuote->GetID().c_str()))
|| (0 == quotes_stricmp(rsQuoteID.c_str(),pQuote->GetName().c_str()))
|| (0 == quotes_stricmp(rsQuoteID.c_str(),pQuote->GetSymbol().c_str()))))
|