From 488d2d42a7dc43c35b8b6b2d6baf8854d1c347a0 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 18 May 2010 09:46:41 +0200 Subject: [PATCH] Fixed: #900 ELuaExecuteError: No matching overload found, setContextHelpText --- code/ryzom/client/src/interface_v3/lua_ihm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/lua_ihm.cpp b/code/ryzom/client/src/interface_v3/lua_ihm.cpp index 927f50f2e..7ab561c1c 100644 --- a/code/ryzom/client/src/interface_v3/lua_ihm.cpp +++ b/code/ryzom/client/src/interface_v3/lua_ihm.cpp @@ -289,9 +289,11 @@ bool CLuaIHM::getUCStringOnStack(CLuaState &ls, sint index, ucstring &dest) void CLuaIHM::push(CLuaState &ls, const ucstring &value) { //H_AUTO(Lua_CLuaIHM_push) - luabind::object obj(ls.getStatePointer(), value); #if LUABIND_VERSION == 600 + luabind::object obj(ls.getStatePointer(), value); obj.pushvalue(); +#else + luabind::detail::push(ls.getStatePointer(), value); #endif }