diff options
author | chai <chaifix@163.com> | 2018-08-15 18:27:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-08-15 18:27:30 +0800 |
commit | be9b27dbf550093b555ab3087c11b38c89ab9fd0 (patch) | |
tree | ddd96bb71b3ad3a32ae844a38bb95525bd0b0666 /src/lua/thread/luaopen_Thread.cpp | |
parent | ac9079ff1449e2638cbf7339edcc6e4b186e5eaa (diff) |
*update
Diffstat (limited to 'src/lua/thread/luaopen_Thread.cpp')
-rw-r--r-- | src/lua/thread/luaopen_Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |