Fixing 'print' native call.

This commit is contained in:
Ruben Ayrapetyan
2014-09-25 16:08:48 +04:00
parent 42876bdc8f
commit f380b30e75
+1 -1
View File
@@ -139,7 +139,7 @@ opfunc_native_call (opcode_t opdata, /**< operation data */
ecma_string_to_zt_string (str_p, zt_str_p, zt_str_size);
#if defined (CONFIG_ECMA_CHAR_ASCII)
__printf ("%s\n", (char*) str_p);
__printf ("%s\n", (char*) zt_str_p);
#elif defined (CONFIG_ECMA_CHAR_UTF16)
JERRY_UNIMPLEMENTED ();
#else /* !CONFIG_ECMA_CHAR_ASCII && !CONFIG_ECMA_CHAR_UTF16 */