diff options
author | Varriount <Varriount@users.noreply.github.com> | 2015-01-22 21:00:45 -0500 |
---|---|---|
committer | Varriount <Varriount@users.noreply.github.com> | 2015-01-22 21:00:45 -0500 |
commit | 7a4f29acc111197894901ee07aac63861bcf4ce6 (patch) | |
tree | 46c0c75bddf4ac9efa0850638eb77e054b510dde /lib | |
parent | cf60f9d1ac362f32db6d6f03ad5111df4cd9f3bc (diff) | |
parent | 126f9f57cd9473188ba3da7c504295e44b7b8d2c (diff) | |
download | Nim-7a4f29acc111197894901ee07aac63861bcf4ce6.tar.gz |
Merge pull request #2001 from def-/fix-system
setControlCHook's parameter is not nil now
Diffstat (limited to 'lib')
-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. |