Skip to content

Commit

Permalink
Merge pull request nim-lang#2001 from def-/fix-system
Browse files Browse the repository at this point in the history
setControlCHook's parameter is not nil now
  • Loading branch information
Varriount committed Jan 23, 2015
2 parents cf60f9d + 126f9f5 commit 7a4f29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/system.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 7a4f29a

Please sign in to comment.