diff options
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index 57d92b28e..69a77b89b 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2509,7 +2509,7 @@ when not defined(JS): #and not defined(NimrodVM): initGC() when not defined(NimrodVM): - proc setControlCHook*(hook: proc () {.noconv.}) + proc setControlCHook*(hook: proc () {.noconv.} not nil) ## allows you to override the behaviour of your application when CTRL+C ## is pressed. Only one such hook is supported. |