previous fix was incorrect; utf16 was new and not yet committed

This was SVN commit r917.
This commit is contained in:
janwas 2004-08-05 15:07:05 +00:00
parent bcbb2a36c7
commit 5f25030964

View File

@ -3,7 +3,6 @@
#include "EntityProperties.h"
#include "BaseEntityCollection.h"
#include "scripting/JSInterface_BaseEntity.h"
#include "utf16string.h"
#undef new // to avoid confusing warnings
@ -116,7 +115,7 @@ void CBoundObjectProperty<CStrW>::set( const jsval value )
jsval CBoundObjectProperty<CStrW>::tojsval()
{
return( STRING_TO_JSVAL( JS_NewUCStringCopyZ( g_ScriptingHost.getContext(), utf16string().c_str() ) ) );
return( STRING_TO_JSVAL( JS_NewUCStringCopyZ( g_ScriptingHost.getContext(), utf16().c_str() ) ) );
}
CBoundObjectProperty<CVector3D>::CBoundObjectProperty()