From 28e20b2718114cc426cfcd2a635d8123d1f1e159 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 }