mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 07:16:35 +00:00
# Add opt-in automatic feedback system.
Add GL implementation limits to hwdetect. Make the in-game manual support multiple text files. Remove unnecessary instruction on how to close the manual window. Make guitextobject.caption return the original value without stripping formatting tags. Remove unused non-VFS support from config system. Support writing config files back to their original path. Remove unnecessary user profile directory; use normal config directory. This was SVN commit r8925.
This commit is contained in:
@@ -203,7 +203,7 @@ JSBool JSI_IGUIObject::getProperty(JSContext* cx, JSObject* obj, jsid id, jsval*
|
||||
{
|
||||
CGUIString value;
|
||||
GUI<CGUIString>::GetSetting(e, propName, value);
|
||||
*vp = ScriptInterface::ToJSVal(cx, value.GetRawString());
|
||||
*vp = ScriptInterface::ToJSVal(cx, value.GetOriginalString());
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ JSBool JSI_IGUIObject::getProperty(JSContext* cx, JSObject* obj, jsid id, jsval*
|
||||
|
||||
for (size_t i = 0; i < value.m_Items.size(); ++i)
|
||||
{
|
||||
jsval val = ScriptInterface::ToJSVal(cx, value.m_Items[i].GetRawString());
|
||||
jsval val = ScriptInterface::ToJSVal(cx, value.m_Items[i].GetOriginalString());
|
||||
JS_SetElement(cx, obj, (jsint)i, &val);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user