Skip to content

Commit

Permalink
Loop prevented compilation on ECL
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Marchán committed Jul 16, 2010
1 parent 0bab76b commit 333744a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/window.lisp
Expand Up @@ -177,10 +177,11 @@
(declare (ignore dt))
(when (openp window)
(loop
while (openp window)
for event = (glop:next-event (glop-window window) :blocking nil)
while event
do (dispatch-glop-event window event))))
while (openp window)
do (if event
(dispatch-glop-event window event)
(return)))))

#+nil(defun key-down-p (engine key)
"Is KEY being held down?"
Expand Down

0 comments on commit 333744a

Please sign in to comment.