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:
janwas
2004-08-05 12:15:19 +00:00
parent b986ff832b
commit 875ceeb9cf
+2 -1
View File
@@ -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()