summaryrefslogtreecommitdiff
path: root/chickadee.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-10-08 09:24:43 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-10-08 09:24:43 -0400
commitf782e70390525fa2e5bfdf8e2ff249ece1640a98 (patch)
treef32636a96e590ec98d52d72c7e86ecc70ab18c45 /chickadee.scm
parent1578a7025c3c70cbbdb110aa42125c9acb57aeda (diff)
Update error handling to use Guile's new exception API.
Diffstat (limited to 'chickadee.scm')
-rw-r--r--chickadee.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee.scm b/chickadee.scm
index c8ad719..8dc0400 100644
--- a/chickadee.scm
+++ b/chickadee.scm
@@ -387,8 +387,8 @@ border is disabled, otherwise it is enabled.")
(with-projection (atomic-box-ref default-projection)
(draw alpha)))
(sdl2:swap-gl-window (unwrap-window window)))
- (define (on-error stack key args)
- (error stack key args)
+ (define (on-error e stack)
+ (error e stack)
;; Flush all input events that have occurred while in the error
;; state.
(while (poll-event) #t))