diff options
author | madmaxoft <github@xoft.cz> | 2014-01-07 15:55:23 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-07 17:07:48 +0100 |
commit | bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf (patch) | |
tree | 00bc4c9743972cf1f1852e227391f2a61dc7ae5c /src | |
parent | Merge pull request #513 from worktycho/FreeBSDDynamicLink (diff) | |
download | cuberite-bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf.tar cuberite-bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf.tar.gz cuberite-bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf.tar.bz2 cuberite-bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf.tar.lz cuberite-bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf.tar.xz cuberite-bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf.tar.zst cuberite-bcd41dc1aafcbfc12803e5326f80ee0b5ebf7fdf.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Bindings/LuaState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp index a684620f3..83351591c 100644 --- a/src/Bindings/LuaState.cpp +++ b/src/Bindings/LuaState.cpp @@ -297,7 +297,7 @@ void cLuaState::Push(const AString & a_String) { ASSERT(IsValid()); - tolua_pushcppstring(m_LuaState, a_String); + lua_pushlstring(m_LuaState, a_String.data(), a_String.size()); m_NumCurrentFunctionArgs += 1; } |