summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/CurrencyRates/src/CurrencyRatesProviderCurrencyConverter.cpp2
-rw-r--r--protocols/CurrencyRates/src/CurrencyRatesProviderExchangeRates.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/CurrencyRates/src/CurrencyRatesProviderCurrencyConverter.cpp b/protocols/CurrencyRates/src/CurrencyRatesProviderCurrencyConverter.cpp
index 46924e4e6d..ca4f41de09 100644
--- a/protocols/CurrencyRates/src/CurrencyRatesProviderCurrencyConverter.cpp
+++ b/protocols/CurrencyRates/src/CurrencyRatesProviderCurrencyConverter.cpp
@@ -4,7 +4,7 @@ static CMStringW build_url(const CMStringW &rsURL, const CMStringW &from, const
{
CMStringW res = rsURL + L"?q=" + from + L"_" + to + L"&compact=ultra";
if (mir_wstrlen(g_plugin.wszApiKey))
- res.AppendFormat(L"&apiKey=%S", (wchar_t*)g_plugin.wszApiKey);
+ res.AppendFormat(L"&apiKey=%s", (wchar_t*)g_plugin.wszApiKey);
return res;
}
diff --git a/protocols/CurrencyRates/src/CurrencyRatesProviderExchangeRates.cpp b/protocols/CurrencyRates/src/CurrencyRatesProviderExchangeRates.cpp
index d2707c35ce..75dbf4244d 100644
--- a/protocols/CurrencyRates/src/CurrencyRatesProviderExchangeRates.cpp
+++ b/protocols/CurrencyRates/src/CurrencyRatesProviderExchangeRates.cpp
@@ -4,7 +4,7 @@ static CMStringW build_url(const CMStringW &rsURL)
{
CMStringW res = rsURL + L"?";
if (mir_wstrlen(g_plugin.wszApiKey))
- res.AppendFormat(L"&apiKey=%S", (wchar_t *)g_plugin.wszApiKey);
+ res.AppendFormat(L"&apiKey=%s", (wchar_t *)g_plugin.wszApiKey);
return res;
}