Index: src/plugin/PluginSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginSettings.cpp |
+++ b/src/plugin/PluginSettings.cpp |
@@ -99,10 +99,9 @@ |
return hasInstance; |
} |
-CString CPluginSettings::GetDataPath(const CString& filename) |
+std::wstring GetDataPath(const std::wstring& filename) |
{ |
- std::wstring path = ::GetAppDataPath() + L"\\" + static_cast<LPCWSTR>(filename); |
- return CString(path.c_str()); |
+ return GetAppDataPath() + L"\\" + filename; |
} |
bool CPluginSettings::IsPluginEnabled() const |