mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 23:51:54 +00:00
Automatically convert all CLogger format strings from wchar_t* to char*.
Done with: ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs sed -i 's/LOG\(MESSAGE\|MESSAGERENDER\|WARNING\|ERROR\)(L/LOG\1(/g' This was SVN commit r16183.
This commit is contained in:
1 parent
dcf5a2667f
commit
49e2ecea63
112 files changed
+516
-516
No files matched your search
@@ -55,7 +55,7 @@ template<> void ScriptInterface::ToJSVal<IComponent*>(JSContext* cx, JS::Mutable
|
||||
if (!val->NewJSObject(*ScriptInterface::GetScriptInterfaceAndCBData(cx)->pScriptInterface, &obj))
|
||||
{
|
||||
// Report as an error, since scripts really shouldn't try to use unscriptable interfaces
|
||||
LOGERROR(L"IComponent does not have a scriptable interface");
|
||||
LOGERROR("IComponent does not have a scriptable interface");
|
||||
ret.setUndefined();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user