From 6e5c781a78fcb0c8a034eedc05df2322f87a1964 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 11 Feb 2010 21:29:02 +0100 Subject: [PATCH] small bugfix in lua::state::settable --- src/luamm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luamm.cc b/src/luamm.cc index 16346966..961cd126 100644 --- a/src/luamm.cc +++ b/src/luamm.cc @@ -446,7 +446,7 @@ namespace lua { insert(-3); lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_settable, 0>)); insert(-4); - call(2, 0, 0); + call(3, 0, 0); } std::string state::tostring(int index) throw(lua::not_string_error)