From 875ceeb9cfb8b14330fa53236ce0356cb5a84fac Mon Sep 17 00:00:00 2001 From: janwas Date: Thu, 5 Aug 2004 12:15:19 +0000 Subject: [PATCH] fix breakage: utf16 -> utf16string and include header or was something else intended? no other occurence of "utf16" This was SVN commit r903. --- source/simulation/EntityProperties.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/simulation/EntityProperties.cpp b/source/simulation/EntityProperties.cpp index f5d49da501..e325bc343f 100755 --- a/source/simulation/EntityProperties.cpp +++ b/source/simulation/EntityProperties.cpp @@ -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::set( const jsval value ) jsval CBoundObjectProperty::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::CBoundObjectProperty()