aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cancel.cpp')
-rw-r--r--src/cancel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp
index 2cd3c53..b14dca6 100644
--- a/src/cancel.cpp
+++ b/src/cancel.cpp
@@ -172,7 +172,7 @@ LUAG_FUNC(thread_cancel)
172 if (!lua_isboolean(L_, 2)) { 172 if (!lua_isboolean(L_, 2)) {
173 raise_luaL_error(L_, "wake_lindas argument is not a boolean"); 173 raise_luaL_error(L_, "wake_lindas argument is not a boolean");
174 } 174 }
175 _wake_lane = lua_toboolean(L_, 2); 175 _wake_lane = lua_toboolean(L_, 2) ? true : false;
176 lua_remove(L_, 2); // argument is processed, remove it 176 lua_remove(L_, 2); // argument is processed, remove it
177 } 177 }
178 STACK_CHECK_START_REL(L_, 0); 178 STACK_CHECK_START_REL(L_, 0);