diff options
-rw-r--r-- | 3rdparty/luabridge/Source/LuaBridge/detail/Stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h b/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h index 9d6f61a2ba6..1a0aae7c29b 100644 --- a/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h +++ b/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h @@ -457,7 +457,7 @@ struct Stack <std::string const&> { static inline void push (lua_State* L, std::string const& str) { - lua_pushstring (L, str.c_str(), str.size()); + lua_pushstring (L, str.c_str()); } static inline std::string get (lua_State* L, int index) |