Index: src/plugin/PluginUserSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginUserSettings.cpp |
+++ b/src/plugin/PluginUserSettings.cpp |
@@ -275,7 +275,7 @@ |
if (pVarResult) |
{ |
- std::vector<std::string> whiteList = settings->GetWhiteListedDomainList(); |
+ std::vector<std::wstring> whiteList = settings->GetWhiteListedDomainList(); |
CString sWhiteList; |
for (size_t i = 0; i < whiteList.size(); i++) |
{ |
@@ -283,7 +283,7 @@ |
{ |
sWhiteList += ','; |
} |
- sWhiteList += CString(CA2W(whiteList[i].c_str(), CP_UTF8)); |
+ sWhiteList += CString(whiteList[i].c_str()); |
} |
pVarResult->vt = VT_BSTR; |