From be9b27dbf550093b555ab3087c11b38c89ab9fd0 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 15 Aug 2018 18:27:30 +0800 Subject: *update --- src/lua/thread/luaopen_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua/thread/luaopen_thread.cpp') diff --git a/src/lua/thread/luaopen_thread.cpp b/src/lua/thread/luaopen_thread.cpp index b6fb33b..30eb343 100644 --- a/src/lua/thread/luaopen_thread.cpp +++ b/src/lua/thread/luaopen_thread.cpp @@ -172,7 +172,7 @@ namespace lua static int l_remove(lua_State* L) { Thread* t = checkThread(L); - int slot = luax_checkinteger(L, 1); + int slot = luax_checkinteger(L, 2); t->remove(slot); return 0; } -- cgit v1.1-26-g67d0