diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -121,8 +121,5 @@ func doOnShouldQuit(unused unsafe.Pointer) C.int { if shouldQuitFunc == nil { return 0 } - if shouldQuitFunc() { - return 1 - } - return 0 + return frombool(shouldQuitFunc()) } |
