mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 07:17:44 +00:00
Convert wchar_t*/wstring arguments to UTF-8 strings in CLogger messages.
This was SVN commit r16188.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user