diff options
Diffstat (limited to 'src/cancel.cpp')
-rw-r--r-- | src/cancel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp index 0f22550..81f25d5 100644 --- a/src/cancel.cpp +++ b/src/cancel.cpp | |||
@@ -56,7 +56,7 @@ THE SOFTWARE. | |||
56 | static inline enum e_cancel_request cancel_test( lua_State* L) | 56 | static inline enum e_cancel_request cancel_test( lua_State* L) |
57 | { | 57 | { |
58 | Lane* const s = get_lane_from_registry( L); | 58 | Lane* const s = get_lane_from_registry( L); |
59 | // 's' is NULL for the original main state (and no-one can cancel that) | 59 | // 's' is nullptr for the original main state (and no-one can cancel that) |
60 | return s ? s->cancel_request : CANCEL_NONE; | 60 | return s ? s->cancel_request : CANCEL_NONE; |
61 | } | 61 | } |
62 | 62 | ||