mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 09:13:45 +00:00
fix breakage: utf16 -> utf16string and include header
or was something else intended? no other occurence of "utf16" This was SVN commit r903.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "EntityProperties.h"
|
||||
#include "BaseEntityCollection.h"
|
||||
#include "scripting/JSInterface_BaseEntity.h"
|
||||
#include "utf16string.h"
|
||||
|
||||
#undef new // to avoid confusing warnings
|
||||
|
||||
@@ -115,7 +116,7 @@ void CBoundObjectProperty<CStrW>::set( const jsval value )
|
||||
|
||||
jsval CBoundObjectProperty<CStrW>::tojsval()
|
||||
{
|
||||
return( STRING_TO_JSVAL( JS_NewUCStringCopyZ( g_ScriptingHost.getContext(), utf16().c_str() ) ) );
|
||||
return( STRING_TO_JSVAL( JS_NewUCStringCopyZ( g_ScriptingHost.getContext(), utf16string().c_str() ) ) );
|
||||
}
|
||||
|
||||
CBoundObjectProperty<CVector3D>::CBoundObjectProperty()
|
||||
|
||||
Reference in New Issue
Block a user