From bcd0d8eb96d72e858e46c692eff3143eea534c1d Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 2 Aug 2022 07:48:02 -0700 Subject: [PATCH] Fix stray paren --- CLI/Repl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLI/Repl.cpp b/CLI/Repl.cpp index 2fd3d1f2..b2575272 100644 --- a/CLI/Repl.cpp +++ b/CLI/Repl.cpp @@ -63,7 +63,7 @@ static lua_State* replState = NULL; #ifdef _WIN32 BOOL WINAPI sigintHandler(DWORD signal) { - if (signal == CTRL_C_EVENT && replState + if (signal == CTRL_C_EVENT && replState) lua_callbacks(replState)->interrupt = &sigintCallback; return TRUE; }