mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss.
Handle most CStr8/CStrW conversions via UTF-8 instead of effectively assuming Latin-1. Return UTF-8 strings from Xeromyces API. This was SVN commit r8929.
This commit is contained in:
@@ -142,7 +142,7 @@ public:
|
||||
CScriptValRooted GetMapSettings(ScriptInterface& scriptInterface);
|
||||
|
||||
private:
|
||||
utf16string m_ScriptSettings;
|
||||
CStr m_ScriptSettings;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user