mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 10:14:03 +00:00
Replaced Windows SpiderMonkey library with a threadsafe build of version 1.6.
Fixed linking with wxWidgets. Enabled RTTI for non-engine packages. Fixed wxJS for Windows. Fixed failure to load on Windows 2000 due to IsWow64Process import. Fixed trivial warnings. This was SVN commit r5155.
This commit is contained in:
@@ -249,7 +249,7 @@ JSBool JSI_IGUIObject::getProperty(JSContext* cx, JSObject* obj, jsval id, jsval
|
||||
{
|
||||
JSString* s = StringConvert::wchars_to_jsstring(cx, value.m_Items[i].GetRawString().c_str());
|
||||
jsval val = STRING_TO_JSVAL(s);
|
||||
JS_SetElement(cx, obj, i, &val);
|
||||
JS_SetElement(cx, obj, (jsint)i, &val);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user