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/QuotesProviderGoogleFinance.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/QuotesProviderGoogleFinance.cpp')
-rw-r--r-- | plugins/Quotes/QuotesProviderGoogleFinance.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Quotes/QuotesProviderGoogleFinance.cpp b/plugins/Quotes/QuotesProviderGoogleFinance.cpp index 25b49f4120..8a129b6b8b 100644 --- a/plugins/Quotes/QuotesProviderGoogleFinance.cpp +++ b/plugins/Quotes/QuotesProviderGoogleFinance.cpp @@ -152,7 +152,7 @@ namespace input.imbue(std::locale("English_United States.1252"));
input >> rdValue;
- if((true == input.bad()) || (true == input.fail()))
+ if ((true == input.bad()) || (true == input.fail()))
{
tistringstream inputSys(rsText);
input.imbue(GetSystemLocale());
@@ -240,7 +240,7 @@ namespace assert(pValue);
- if((pValue) && (true == get_double_value(sDiff,*pValue)))
+ if ((pValue) && (true == get_double_value(sDiff,*pValue)))
{
rInfo.m_nFlags |= nItem;
return true;
@@ -315,10 +315,10 @@ void CQuotesProviderGoogleFinance::RefreshQuotes(TContracts& anContacts) tstring sFullURL = build_url(hContact,sURL);
// LogIt(Info,sFullURL);
- if((true == http.OpenURL(sFullURL)) && (true == IsOnline()))
+ if ((true == http.OpenURL(sFullURL)) && (true == IsOnline()))
{
tstring sHTML;
- if((true == http.ReadResponce(sHTML)) && (true == IsOnline()))
+ if ((true == http.ReadResponce(sHTML)) && (true == IsOnline()))
{
// LogIt(Info,sHTML);
|