From 126f9f57cd9473188ba3da7c504295e44b7b8d2c Mon Sep 17 00:00:00 2001 From: def Date: Fri, 23 Jan 2015 01:51:09 +0100 Subject: [PATCH] setControlCHook's parameter is not nil now --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 57d92b28e1..69a77b89b6 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.