Convert wchar_t*/wstring arguments to UTF-8 strings in CLogger messages.

This was SVN commit r16188.
This commit is contained in:
Ykkrosh
2015-01-22 20:37:38 +00:00
parent e02d7ad949
commit 568c415d0a
25 changed files with 98 additions and 98 deletions
+1 -1
View File
@@ -828,7 +828,7 @@ static std::vector<std::string> GetJSONData(const VfsPath& path)
{
// Some error reading directory
wchar_t error[200];
LOGERROR("Error reading directory '%s': %s", path.string8(), StatusDescription(ret, error, ARRAY_SIZE(error)));
LOGERROR("Error reading directory '%s': %s", path.string8(), utf8_from_wstring(StatusDescription(ret, error, ARRAY_SIZE(error))));
return std::vector<std::string>();
}