mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 07:17:44 +00:00
# Fixes for GCC
Renamed 'not' to 'negated', since 'not' is special in C++. Added some includes, etc. This was SVN commit r4665.
This commit is contained in:
@@ -1287,7 +1287,7 @@ JSBool getTrigger( JSContext* cx, JSObject* UNUSED(globalObject), uint argc,
|
||||
*rval = ToJSVal( g_TriggerManager.m_TriggerMap[name] );
|
||||
else
|
||||
{
|
||||
debug_printf("Invalid trigger name %ws", name);
|
||||
debug_printf("Invalid trigger name %ws", name.c_str());
|
||||
*rval = JSVAL_NULL;
|
||||
}
|
||||
return JS_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user