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
@@ -317,7 +317,7 @@ void CBinarySerializerScriptImpl::HandleScriptVal(JS::HandleValue val)
}
}
LOGERROR("Cannot serialise JS objects of type 'function': %s", funcname.c_str());
LOGERROR("Cannot serialise JS objects of type 'function': %s", utf8_from_wstring(funcname));
throw PSERROR_Serialize_InvalidScriptValue();
}
case JSTYPE_STRING: