From 8bf03133314064ec052873b01647c79b69a5b681 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 25 Feb 2016 13:47:23 +0000 Subject: more shit removed git-svn-id: http://svn.miranda-ng.org/main/trunk@16336 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/QuotesProviderGoogle.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/Quotes/src/QuotesProviderGoogle.cpp') diff --git a/plugins/Quotes/src/QuotesProviderGoogle.cpp b/plugins/Quotes/src/QuotesProviderGoogle.cpp index 87e05f09c7..a91f71fc27 100644 --- a/plugins/Quotes/src/QuotesProviderGoogle.cpp +++ b/plugins/Quotes/src/QuotesProviderGoogle.cpp @@ -21,8 +21,8 @@ inline bool is_rate_watched(MCONTACT hContact, { tstring sFrom = Quotes_DBGetStringT(hContact, QUOTES_PROTOCOL_NAME, DB_STR_FROM_ID); tstring sTo = Quotes_DBGetStringT(hContact, QUOTES_PROTOCOL_NAME, DB_STR_TO_ID); - return ((0 == quotes_stricmp(from.GetID().c_str(), sFrom.c_str())) - && (0 == quotes_stricmp(to.GetID().c_str(), sTo.c_str()))); + return ((0 == mir_tstrcmpi(from.GetID().c_str(), sFrom.c_str())) + && (0 == mir_tstrcmpi(to.GetID().c_str(), sTo.c_str()))); } bool CQuotesProviderGoogle::WatchForRate(const CRateInfo& ri, @@ -102,7 +102,7 @@ typedef IHTMLNode::THTMLNodePtr THTMLNodePtr; bool parse_html_node(const THTMLNodePtr& pNode, double& rdRate) { tstring sID = pNode->GetAttribute(_T("id")); - if ((false == sID.empty()) && (0 == quotes_stricmp(sID.c_str(), _T("currency_converter_result")))) { + if ((false == sID.empty()) && (0 == mir_tstrcmpi(sID.c_str(), _T("currency_converter_result")))) { size_t cChild = pNode->GetChildCount(); // assert(1 == cChild); if (cChild > 0) { @@ -218,8 +218,8 @@ TWatchedRates g_aWatchedRates; bool is_equal_rate(const CQuotesProviderGoogle::CRateInfo& riL, const CQuotesProviderGoogle::CRateInfo& riR) { - return ((0 == quotes_stricmp(riL.m_from.GetID().c_str(), riR.m_from.GetID().c_str())) - && ((0 == quotes_stricmp(riL.m_to.GetID().c_str(), riR.m_to.GetID().c_str())))); + return ((0 == mir_tstrcmpi(riL.m_from.GetID().c_str(), riR.m_from.GetID().c_str())) + && ((0 == mir_tstrcmpi(riL.m_to.GetID().c_str(), riR.m_to.GetID().c_str())))); } INT_PTR CALLBACK GoogleOptDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam) @@ -419,8 +419,8 @@ namespace { tstring sFrom = Quotes_DBGetStringT(hContact, QUOTES_PROTOCOL_NAME, DB_STR_FROM_ID); tstring sTo = Quotes_DBGetStringT(hContact, QUOTES_PROTOCOL_NAME, DB_STR_TO_ID); - return ((0 == quotes_stricmp(rsFromID.c_str(), sFrom.c_str())) - && (0 == quotes_stricmp(rsToID.c_str(), sTo.c_str()))); + return ((0 == mir_tstrcmpi(rsFromID.c_str(), sFrom.c_str())) + && (0 == mir_tstrcmpi(rsToID.c_str(), sTo.c_str()))); } } -- cgit v1.2.3