Commit c6b28d67 authored by David Milligan's avatar David Milligan
Browse files

lua scripting: console.write should not automatically add newlines

--HG--
branch : lua_fix
parent 6ca929aca71d
......@@ -49,7 +49,7 @@ static int luaCB_console_clear(lua_State * L)
*/
static int luaCB_console_write(lua_State * L)
{
if(lua_isstring(L, 1)) puts(lua_tostring(L, 1));
if(lua_isstring(L, 1)) printf("%s",lua_tostring(L, 1));
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment